Answer Posted / yughandhar
public:
public is an access specifier which can be used throughout
the program.
protected:
protected is an access specifier which can be used in the
specified class and its derived class...
private:
private is an access speifier which can be used whithin the
class in which it is declared.
These three access specifiers are used for providing the
security
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Why is object oriented programming so hard?
can we make game by using c
Can static class have constructor?
What exactly is polymorphism?
What are the benefits of interface?
Which language is not a true object oriented programming language?
What is an advantage of polymorphism?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why is oop useful?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can destructor be overloaded?
How do you use inheritance in unity?
What are the types of abstraction?
Why do we need oop?
What are two types of polymorphism?