-
-
Struts Advantage
What is the advantage of using struts?
-
Can HashMap store null values?If yes, how many?
Can HashMap store null values?If yes, how many?What is singleton class? Give one example.Please describe the difference between 'int' and 'Integer',what is the purpose of 'Integer', where should we use 'Integer' vs 'int'?
-
-
Java LinkedList Implementation
If Java does not have pointers then how LinkedList is implemented in Java?
-
Can a for statement loop indefinitely
Yes, a for statement can loop indefinitely. For example, consider the following:for(;;) ;
-
-
-
-
Int and integer
What is the difference between int and integer?
-
-
Override Final Method
How to override final method?
-
-
-
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.
-
What is the Collections API
The Collections API is a set of classes and interfaces that support operations oncollections of objects.
-
What is the purpose of the System class
The purpose of the System class is to provide access to system resources.
-
Which class should you use to obtain design information about an object
The Class class is used to obtain information about an object's design.
-
-
Which characters may be used as the second character of an identifier, but notas the firstcharacter of an identifier
The digits 0 through 9 may not be used as the first character of an identifier but they maybe used after thefirst character of an identifier.
Java Interview Questions
Ans