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
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
write a C++ program for booking using constructor and destructor.
What are objects in oop?
Why do we use class in oops?
Get me an image implementation program.
What is solid in oops?
State what is encapsulation and friend function?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is constructor overloading in oop?
Why polymorphism is used in oops?
What is abstraction encapsulation?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
How many human genes are polymorphic?
what is the sylabus for priliminaries?
What is the important feature of inheritance?