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 / monika

Two types of data members are- Data members and Member
functions.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are main features of oop?

732


what are the realtime excercises in C++?

2431


What is interface in oop?

757


What are the types of abstraction?

643


How do you answer polymorphism?

667






What is the main purpose of inheritance law?

766


Which method cannot be overridden?

662


How do you achieve polymorphism?

717


What is the real life example of polymorphism?

712


What is polymorphism and why is it important?

651


How do you define social class?

681


What is encapsulation and abstraction? How are they implemented in C++?

720


Get me a number puzzle game-program

1783


Why is oop better than procedural?

700


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4343