Java Interview Questions
Java Interview Questions
Java Interview Questions
More
Detail
Define class?
What is an Exception?
Define Inheritance?
What is Polymorphism?
What is Abstraction?
What is Encapsulation?
It is the technique of making the fields in a
class private and providing access to the fields
via public methods. If a field is declared private,
it cannot be accessed by anyone outside the
class, thereby hiding the fields within the class.
Therefore encapsulation is also referred to as
data hiding.
What is an Interface?
It includes −
What is an applet?
Explain TreeSet?
It includes:
Define composition?
What is NullPointerException?
When ArithmeticException is
thrown?
What is synchronization?
Yes
Newborn state
Runnable state
Running state
Blocked state
Dead state
MenuItem class
What is currentThread()?
Initialization
Starting
Stopping
Destroying
Painting
Define canvas?
What is a Socket?
What is an enumeration?
Polymorphism
What is Downcasting?
What is Next?
Further, you can go through your past
assignments you have done with the subject
and make sure you are able to speak
confidently on them. If you are fresher then
interviewer does not expect you will answer
very complex questions, rather you have to
make your basics concepts very strong.
Print Page