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
Give two or more real cenario of virtual function and vertual object
when to use 'mutable' keyword and when to use 'const cast' in c++
What is difference between data abstraction and encapsulation?
Write a c++ program to display pass and fail for three student using static member function
Why do pointers exist?
How many human genes are polymorphic?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is polymorphism and types?
What is polymorphism and example?
write knight tour problem which is present in datastructure
Explain the concepts involved in Object Oriented programming.
How do you achieve runtime polymorphism?
What is meant by multiple inheritance?
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?
what is the 3 types of system development life cycle