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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If an object is garbage collected, can it become reachable again?

760


How do you clear an arraylist in java?

695


What are the different types of java?

746


Is void a data type?

708


Wha is the output from system.out.println(“hello”+null); ?

886


What is difference between iterator access and index access?

838


Why is it important to initialize a variable?

724


Can a class have multiple subclasses?

786


Is heap stored in ram?

705


What is stack example?

763


Why do we need data structure in java?

798


What are nested classes in java?

807


Can a final variable be initialized in constructor?

685


Explain creating threads by extending thread class ?

758


What is method with example?

767