-
When a thread blocks on I/O, what state does it enter
A thread enters the waiting state when it blocks on I/O.
-
-
-
Is sizeof a keyword
The sizeof operator is not a keyword.
-
What is the difference between the >> and >>> operators
The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that havebeen shifted out.
-
-
-
-
-
-
-
What is the preferred size of a component
The preferred size of a component is the minimum component size that will allow the component to display normally.
-
What state does a thread enter when it terminates its processing
When a thread terminates its processing, it enters the dead state.
-
What is an Iterator interface
The Iterator interface is used to step through the elements of a Collection.
-
Which containers use a FlowLayout as their default layout
The Panel and Applet classes use the FlowLayout as their default layout.
-
What method is used to specify a container's layout
The setLayout() method is used to specify a container's layout.
-
-
-
-
What is the List interface
The List interface provides support for ordered collections of objects.
Java Interview Questions
Ans