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
Which is better struts or spring?
Why is oop useful?
What is an example of genetic polymorphism?
What are oops functions?
What are properties in oop?
What is interface? When and where is it used?
What is a null tree?
What is oops?what is its use in software engineering?
What is the important feature of inheritance?
Can we define a class within the interface?
What does and I oop mean in text?
What is destructor in oop?
Why is encapsulation used?
What is overriding in oop?
Can bst contain duplicates?