Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is encapsulation oop?

1041


Can destructor be overloaded?

1035


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

2153


What is abstraction encapsulation?

1127


Is html an oop?

1072


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

2542


What do you mean by abstraction?

1072


What is the difference between encapsulation and polymorphism?

1111


What is multilevel inheritance explain with example?

1149


Why is polymorphism used?

1040


What is difference between pop and oop?

1168


What is polymorphism and its types?

1070


What is the advantage of oop over procedural language?

1090


What causes polymorphism?

1135


What is meant by multiple inheritance?

1262