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


Please Help Members By Posting Answers For Below Questions

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.

1951


write a C++ program for booking using constructor and destructor.

2243


What are objects in oop?

814


Why do we use class in oops?

737


Get me an image implementation program.

1720


What is solid in oops?

795


State what is encapsulation and friend function?

915


explain sub-type and sub class? atleast u have differ it into 4 points?

2031


What is constructor overloading in oop?

830


Why polymorphism is used in oops?

775


What is abstraction encapsulation?

848


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3807


How many human genes are polymorphic?

766


what is the sylabus for priliminaries?

1886


What is the important feature of inheritance?

839