- 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
Static and Non-Static are the two types of nested classes
A) TrueB) False
 - 
                    
 - 
                    
The type of data returned by a method need not be compatible with the return type specified by the method
A) TrueB) FalseExplanation: The type of data returned by a method must be compatible with the return type specified by the method. For example, if the return type of some method is boolean, you could not return an integer
 - 
                    
 - 
                    
 - 
                    
A stack stores data using first-in, last-out ordering.
A) TrueB) False
 - 
                    
 - 
                    
Stacks are controlled through two operations traditionally called ___ and _____
A) Push and Pull B) Push and PopC) Pop and Pull D) Pop and Peep
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 
Java Classes Questions

		
Ans