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
Is html an oop?
What is polymorphism explain?
What does no cap mean?
What is meant by oops concept?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Why is object oriented programming so hard?
What is object-oriented programming? Webopedia definition
Give two or more real cenario of virtual function and vertual object
What is the fundamental idea of oop?
What is interface in oop?
What is difference between oop and pop?
is there any choice in opting subjects like 4 out of 7
What are the 4 pillars of oop?
What is object in oop?
what type of question are asked in thoughtworks pair programming round ?