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

What is the difference between a static and a non-static inner class in java programming?

0 Answers  


How finally used under exception handling?

0 Answers  


Can a serialized object be transferred via network?

0 Answers  


How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance

2 Answers   TCS,


What is Co-Variant return type in method overriding?

1 Answers   RBS,






What is meant by JVM ?

6 Answers  


What does a method signature consist of?

0 Answers  


Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.

9 Answers  


what is default constructor and parameterised constructor with example?

1 Answers   KPIT,


How to do encapsulation in java?

0 Answers  


Is linked list a linear or non-linear data structure?

0 Answers   Akamai Technologies,


What is strings in java?

0 Answers  


Categories