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
What is difference between inheritance and polymorphism?
What are the important components of cohesion?
is there any choice in opting subjects like 4 out of 7
What is this pointer in oop?
How do you achieve polymorphism?
What is purpose of inheritance?
to find out the minimum of two integer number of two different classes using friend function
Can enum be null?
Whats is abstraction in oops?
What is abstraction with example?
What is polymorphism explain its types?
What is the types of inheritance?
#include
What is basic concept of oop?
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!!!)