Interview Questions - Advanced Java
69.
What are the high-level thread states?
The high-level thread states are ready, running, waiting, and dead.
70.
What value does read() return when it has reached the end of a file?
The read() method returns -1 when it has reached the end of a file.
71.
Can a Byte object be cast to a double value?
No. An object cannot be cast to a primitive value.
72.
What is the difference between a static and a non-static inner class?
A non-static inner class may have object instances that are associated with instances of the class's outer class.
A static inner class does not have any object instances.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers