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 / sidhartha

1) Data members and member functions.
2) Wrapping up of data into a single logical unit is known
as data encapsulation.
3) By using public specifier in the class.
4) private specifier is the default visibility mode.
5) (a)It is a bottom up approach.
(b)Emphasis is on data.
(c)large programs can be divided into objects.
(d)objects have their relevant own data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is byval and byref? What are differences between them?

2202


What is overloading in oop?

990


Why do pointers exist?

1076


What is encapsulation process?

1030


when to use 'mutable' keyword and when to use 'const cast' in c++

2152


Give two or more real cenario of virtual function and vertual object

2313


What type of loop is a for loop?

1078


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2576


Why do we need polymorphism in c#?

1142


Why is there no multiple inheritance?

983


What is for loop and its syntax?

1071


What are properties in oop?

1067


What is polymorphism and its types?

1050


What is overriding in oop?

1028


What polymorphism means?

1048