1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
programing?
Answer Posted / n.shyam sunder rao
1.Static & Non-static
2.covering all entities like function,variables, data type
within a single entity called as class is known as data
encapsulation.
Data hiding refers to the privacy of information that are
seen within the class that is not visible to the functions
outside the class.
3.By using access specifier public.
4.default scope, that is same class,subclass with in the
same package,other classes within the same package.
5.i).Overloading functions.
ii).Code Re usability.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is inheritance write a program to show use of inheritance?
Is oop better than procedural?
how to get the oracle certification? send me the answer
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is inheritance in simple words?
What is the problem with multiple inheritance?
What does and I oop mean in text?
What is overriding in oop?
What does and I oop and sksksk mean?
What is encapsulation and abstraction? How are they implemented in C++?
What is purpose of inheritance?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What are the 5 oop principles?
What is the full form of oops?
Explain the advantages of inheritance.