- 
                    Array List CollectionsWhat is Use of declaring an array list object like List list = new ArrayList() rather than creating object like ArrayList arr = new ArrayList(); 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    What's the difference between Object and "E"?I'm trying to write an Iterator class for a LinkedList class that I wrote.One of the methods is "public E next()"I try to return an "E" but eclipse says "cannot convert from Object to E".How do I fix this? 
- 
                    
- 
                    Difference Between Collection and Legacy classesWhat are the difference between Legacy classes and Collection other than Synchronized? 
- 
                    
- 
                    Supplying Arguments to Main MethodWhat is the meaning of supplying string[] args to main method? 
- 
                    
- 
                    
- 
                    
- 
                    Why should we extend Exception instead of Throwable?We usually extend Exception instead of Throwable. Why? In what situations we extend Throwable.Could anybody give the answer in detail. Thanks in advance. 
- 
                    Illegal State of ExceptionWhen does thread throws illegal state of exception?Explain with two scenarios? 
- 
                    
- 
                    Command prompt argumentHow to pass commandline arguments in main function through Eclipse Tools (editors). 
- 
                    
Core Java Interview Questions

 
  
  
  
		
Ans