Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Design - Interview Questions and Answers for 'Mindtree' - 2 question(s) found - Order By Newest | ||||
Very Frequently asked. Have been asked in HCL Technologies very frequently ( based on 3 feedback ). Among first few questions in many interviews. | ||||
| ||||
Ans. Abstract classes can have both abstract methods ( method declarations ) as well as concrete methods ( inherited to the derived classes ) whereas Interfaces can only have abstract methods ( method declarations ). A class can extend single abstract class whereas it can implement multiple interfaces. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   classes   abstract class   interfaces   abstract class vs interface   abstract classes vs interfaces Asked in 82 Companies basic   frequent | ||||
Related Questions | ||||
What are the different uses of Interfaces in Java ? | ||||
Why can't we have diamond problem with interfaces ? | ||||
Why do we need Thread class even in case we execute thread using runnable interface ? | ||||
What is the difference between List, Set and Map ? or What are the different Java Collections Interfaces ? | ||||
What are Marker Interfaces ? Name few Java marker interfaces ? | ||||
Can we declare interface methods as private ? | ||||
What is comparator interface used for ? | ||||
What is the use of runnable interface if we can always create a new thread using Thread class ? | ||||
Which of the following doesn't extend Collection interface ? | ||||
Very frequently asked.Usually among first few questions. | ||||
| ||||
Ans. MVC is a Design Pattern that facilititates loose coupling by segregating responsibilities in a Web application 1. Controller receives the requests and handles overall control of the request 2. Model holds majority of the Business logic, and 3. View comprise of the view objects and GUI component | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  j2ee   mvc   mvc design pattern   design pattern   struts   spring   web application   web frameworks   ebay Asked in 60 Companies basic   frequent | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
Explain Flow of Spring MVC ? | ||||
What are the benefits of using Spring Framework ? | ||||
Why Struts 1 Classes are not Thread Safe whereas Struts 2 classes are thread safe ? | ||||
What bean scopes does Spring support? Explain them. | ||||
Which MVC is struts2 based on ? | ||||
What are different modules of spring ? | ||||
What is Spring configuration file? | ||||
Q: What is default scope of bean in Spring framework? | ||||
What is bean auto wiring? | ||||