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


Please Help Members By Posting Answers For Below Questions

Is html an oop?

670


What is polymorphism explain?

802


What does no cap mean?

683


What is meant by oops concept?

686


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2101






Why is object oriented programming so hard?

707


What is object-oriented programming? Webopedia definition

835


Give two or more real cenario of virtual function and vertual object

1953


What is the fundamental idea of oop?

737


What is interface in oop?

757


What is difference between oop and pop?

717


is there any choice in opting subjects like 4 out of 7

1822


What are the 4 pillars of oop?

755


What is object in oop?

782


what type of question are asked in thoughtworks pair programming round ?

1848