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 the types of abstraction?

754


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1835


How to improve object oriented design skills?

742


What is polymorphism what is it for and how is it used?

750


Can we have inheritance without polymorphism?

774


What is polymorphism and example?

762


What is interface? When and where is it used?

1863


What is class and object with example?

790


What is inheritance in oop?

787


Why do we use class?

802


What does sksksk mean in text slang?

1812


Whats is abstraction in oops?

820


What are the components of marker interface?

784


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

4461


What is polymorphism give a real life example?

750