Answer Posted / priya
public:public is a access specifier and it is used to access
class member through out the program .
private:private is a access specifier by default our variables are private when we didn't specify any data type for our variable.
protected:protected is a access specifier and its a immediate to derived class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What exactly is polymorphism?
What is destructor example?
What is the difference between abstraction and polymorphism?
What is the point of polymorphism?
What is this pointer in oop?
hi all..i want to know oops concepts clearly can any1 explain??
Why interface is used?
What is abstraction and encapsulation?
What is polymorphism what are the different types of polymorphism?
Why multiple inheritance is not allowed?
Templates mean
Who invented oop?
Why is there no multiple inheritance?
What is object in oop with example?
Can we create object of abstract class?