-
-
-
-
-
-
-
-
-
-
What is synchronization and why is it important
With respect to multithreading, synchronization is the capability to control the access ofmultiple threads to shared resources. Without synchronization, it is possible for onethread to modify a shared object while another thread is in the process of using orupdating that object's value. This often leads to significant errors.
-
-
What are wrapped classes
Wrapped classes are classes that allow primitive types to be accessed as objects.
-
Can a for statement loop indefinitely
Yes, a for statement can loop indefinitely. For example, consider the following:for(;;) ;
-
To what value is a variable of the String type automatically initialized
The default value of an String type is null.
-
-
-
-
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?
-
-
Java Interview Questions
Ans