-
-
-
-
-
-
-
-
-
-
-
-
-
What is the preferred size of a component
The preferred size of a component is the minimum component size that will allow thecomponent to display normally.
-
What method is used to specify a container's layout
The setLayout() method is used to specify a container's layout.
-
What state does a thread enter when it terminates its processing
When a thread terminates its processing, it enters the dead 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 Vector class
The Vector class provides the capability to implement a growable array of objects
-
25. Is sizeof a keyword
The sizeof operator is not a keyword.
-
Can an object's finalize() method be invoked while it is reachable
An object's finalize() method cannot be invoked by the garbage collector while the objectis still reachable. However, an object's finalize() method may be invoked by otherobjects.
-
What class is the top of the AWT event hierarchy
The java.awt.AWTEvent class is the highest-level class in the AWT event-classhierarchy.
Java Interview Questions
Ans