-
-
-
-
-
‘super’ is a Java ____word
Skill/Topic: AWT & AppletsA) key
-
Java basic questions
1.throw Vs. throws clause?2.Use of EJBs?3.Design Patterns avail in Java?4.Different ways of achieving Exceptions in Java?5.Can we handle Run Time Exceptions?6.How to overcome OutOfMemoryError?7.CompileTime Vs. Run Time Exceptions8.MultiThreading Vs Multitasking9.Usage of Tag Libraries in JSPs?10.Available Tag Libraries?
-
-
Exeption Handling
What happenes if exception occur in finally block?
-
-
-
-
-
Name the eight primitive Java types
The eight primitive types are byte, char, short, int, long, float, double, and boolean.
-
-
-
What is the difference between yielding and sleeping
When a task invokes its yield() method, it returns to the ready state. When a task invokesits sleep() method, it returns to the waiting state.
-
-
-
-
If a class is declared without any access modifiers, where may the class be accessed
A class that is declared without any access modifiers is said to have package access. Thismeans that the class can only be accessed by other classes and interfaces that are definedwithin the same package.
Java Interview Questions
Ans