1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
programing?
Answer Posted / karthick
1.two types of class members are declaration and definition.
2.covering all entities like function,variables, data type
within a single entity called as class is known as data
encapsulation.
Data hiding refers to the privacy of informations that are
seen within the class that is not visible to the functions
outside the class.
3.By creating objects for the class they can be accessed.
4.The default visibility is always private
5.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is difference between polymorphism and inheritance?
How do you explain polymorphism?
What are oops methods?
Why oops is important?
What is the problem with multiple inheritance?
Why multiple inheritance is not possible?
Whats oop mean?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is abstraction with example?
Why do we use inheritance?
What is the oops and benefits of oops programming?
What is encapsulation with real life example?
What is pointer in oop?
What is inheritance in simple words?
How to improve object oriented design skills?