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
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 |
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 |
What data type is string java?
What is the difference between Checked and Unchecked exception? Give some examples
Difference between canvas class & graphics class?
What is the full form of jpeg?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What are different access specifiers in java?
Is string pool garbage collected?
What is constant in programming?
Can you give few examples of final classes defined in java api?
Explain about class in java?
What is a local, member and a class variable?
In treeset we add same object ...what will be the out put