Answer Posted / prashanth
public,protected,private are access modifiers where public
is used for acess the methods and variables to unlimited
extent.
private:is used to access the variables upto the enclosing
region
protected:and it is limited to class itself or classes that
are derived
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
class type to basic type conversion
What is overriding vs overloading?
What are the 3 principles of oop?
How do you achieve polymorphism?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Can we have inheritance without polymorphism?
What is overloading in oops?
what is the 3 types of system development life cycle
What are the types of abstraction?
What is inheritance in oop?
which feature are not hold visual basic of oop?
How long to learn object oriented programming?
What does and I oop mean in text?
What is oops and why we use oops?
Can destructor be overloaded?