Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| |||||||||||||||||||||||||||
Interview Questions and Answers for 'Birlasoft' - 6 question(s) found - Order By Newest | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ans. OOPs or Object Oriented Programming is a Programming model which is organized around Objects instead of processes. Instead of a process calling series of processes, this model stresses on communication between objects. Objects that all self sustained, provide security by encapsulating it's members and providing abstracted interfaces over the functions it performs. OOP's facilitate the following features 1. Inheritance for Code Reuse 2. Abstraction for modularity, maintenance and agility 3. Encapsulation for security and protection 4. Polymorphism for flexibility and interfacing | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ans. Vectors are synchronized whereas Array lists are not. | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ans. There are 4 types of associations in Hibernate One to One One to Many Many to One Many to Many | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ans. http://www.buggybread.com/2014/03/java-design-pattern-singleton-interview.html | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ans. Both are creational design patterns but singleton facilitates in creation and reuse of single object whereas Factory deals with creation of multiple objects. | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
![]() ![]() ![]() ![]() | |||||||||||||||||||||||||||