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
Why is encapsulation used?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is interface in oop?
What are oops methods?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is super in oop?
How do you achieve runtime polymorphism?
What is abstraction encapsulation?
What is polymorphism programming?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What are the data types in oop?
How to hide the base class functionality in Inheritance?
What are the benefits of oop?
Why is oop useful?
officer say me - i am offered to a smoking , then what can you say