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 is multilevel inheritance?

727


What is an advantage of polymorphism?

597


What is inheritance write a program to show use of inheritance?

614


What is difference between pop and oop?

609


Templates mean

1590






What is abstraction in oop with example?

646


What is difference between polymorphism and inheritance?

617


What is oops concept with example?

579


What causes polymorphism?

577


How do you answer polymorphism?

577


What are oops methods?

568


Why is there no multiple inheritance?

570


What is the purpose of enum?

583


to find out the minimum of two integer number of two different classes using friend function

1644


what are the ways in which a constructors can be called?

1583