why we need this (1.object,2.class,3.data
hiding,4.encapsulation,5.abstraction,6.
polymorphism,7.inheritance)

Answers were Sorted based on User's Feedback



why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7..

Answer / deepakkumar1887

1. to store specific information
2. to define structural definition of object
3. to provide data security
4. to provide authorized accessing on secure data
5. to perform inquiry about class definition
6. to define in multiple form for different operation under
common name
7. to use property re usability

Is This Answer Correct ?    17 Yes 1 No

why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7..

Answer / rv.nandakishore

Don't Go to learn anything without knowing this.... If u
know this Java is a piece of cake.....

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Core Java Interview Questions

How does sublist works in java?

0 Answers  


What is the basically use of finally while we know it is always executed but why?

5 Answers   Oracle, TCS,


what is the difference between statis block and static variable

7 Answers  


What is merge sort in java?

0 Answers  


What are the drawbacks of singleton class?

0 Answers  






Can we rethrow the same exception from catch handler?

0 Answers  


Is java a utf 8 string?

0 Answers  


where exactly collections are usefull in realtime

2 Answers  


When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify

3 Answers   HCL, Photon,


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

1 Answers   Rolta, TCS,


when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?

6 Answers  


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


Categories