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...

give me some class & objects examples?

Answer Posted / divyaja

Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is runtime errors c++?

1127


What is #include iomanip?

1010


What is a c++ map?

1408


How should a contructor handle a failure?

1194


What c++ library is string in?

1060


Define a nested class. Explain how it can be useful.

1084


What do you mean by function overriding & function overloading in c++?

1190


Explain the difference between using macro and inline functions?

1125


Differentiate between a template class and class template in c++?

1101


Difference between struct and class in terms of access modifier.

1195


Define upcasting.

1043


what are function pointers?

1061


Why namespace is used in c++?

1071


Explain pass by value and pass by reference.

1061


How do you flush a buffer in c++?

1099