- 
                    What class is the top of the AWT event hierarchyThe java.awt.AWTEvent class is the highest-level class in the AWT event-classhierarchy. 
- 
                    When a thread blocks on I/O, what state does it enterA thread enters the waiting state when it blocks on I/O. 
- 
                    
- 
                    
- 
                    Is sizeof a keywordThe sizeof operator is not a keyword. 
- 
                    What is the difference between the >> and >>> operatorsThe >> operator carries the sign bit when shifting right. The >>> zero-fills bits that havebeen shifted out. 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    What is the preferred size of a componentThe 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 processingWhen a thread terminates its processing, it enters the dead state. 
- 
                    What is an Iterator interfaceThe Iterator interface is used to step through the elements of a Collection. 
- 
                    Which containers use a FlowLayout as their default layoutThe Panel and Applet classes use the FlowLayout as their default layout. 
- 
                    What method is used to specify a container's layoutThe setLayout() method is used to specify a container's layout. 
- 
                    
- 
                    
- 
                    
Java Interview Questions

 
  
  
  
		
Ans