- 
                    CollectionsWhat is the difference b/w 2d array and hashmap?Where we have to use this?Explain ? Thanks in advance 
- 
                    
- 
                    How would you go about designing a better system?Interviewer asked me this question in a interview. I could not give a clear answer. Can someone please help me to answer this question? Or point me to the websites that talk about How to Design a Good Software System. Thank you very much. 
- 
                    Interface and Abstract Class UsageWhen will you use an interface and abstract class? 
- 
                    
- 
                    Use of StaticWhat is the use of static in (public static void main string args[]) 
- 
                    Object ClassWhen you declare a class, why does it automatically extends to object class? Give 2 reasons. 
- 
                    Object Class MethodsWhy wait() and notify() are used only for threads, why not to objects? 
- 
                    Primitive TypesWhat happens when you add a primitive type (e.g. double) value to a collection? 
- 
                    Find the Outputclass A{ public static void main(String[] a){ System.out.print(String.valueOf(1)+String.valueOf(2)); String s1="s1"; String s2=s1.toString(); System.out.print(","+(s1==s2)); }} 
- 
                    Double ValueWhat happens when you add a double value to a String? 
- 
                    Struts FrameworkWhy we use Struts framework in project? 
- 
                    Struts Heirarchy of FilesWhat is heirarchy of files in Struts? 
- 
                    Struts ActionServletwhy do we have only one ActionServlet in Struts?(Asked in Polaris Interview for Java Experienced people , on April 11, Chennai) 
- 
                    difference between Struts 1.x and Struts 2.xWhat is the difference between Struts 1.x and Struts 2.x 
- 
                    Dependency injectionWhat is dependency injection ? 
- 
                    java patternsExplain java patterns in detail? Any difference between Design patterns and java patterns ? . Explain about advantages of using patterns with an example. 
- 
                    
- 
                    
- 
                    What is the advantage of using static methods in real time applications?When we use static methods and when we use final methods? Explain with a suitable example.. 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    why servlet is used as controller ?not JSP? i want complete Explation?In struts servlet control the application and we know that a jsp compiled into a servlet first. The only problem with the servlet is that it needs to write out.println call per HTML line. But as a controller in struts servlets do not force the programmers to write out.println, that is the part of JSP which acts as View.So if the controller would be JSP the translation (JSP compiled to a servlet)step... 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    How Data Access Object (DAO) class will handle the dataSuppose there are 2500 records to be handled? How Data Access Object (DAO) class will handle it? 
- 
                    
- 
                    
- 
                    What is the difference between Abstract Factory Pattern and factory Pattern?What is the difference between Abstract Factory Pattern and factory Pattern? When would you use each of them? 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    

 
  
  
  Read Best Answer
 
                        Read Best Answer