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 are the iterator and generic algorithms.

1990


What is else if syntax?

1214


What is pointer in c++ with example?

1132


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1217


Difference between delete and free.

1135


How do you write a function that can reverse a linked-list?

1171


What is the basic structure of a c++ program?

1199


What are the basic data types used in c++?

1079


Difference between a copy constructor and an assignment operator.

1049


What is nested class in c++?

1018


Explain the concept of friend function in c++?

1162


What c++ is used for?

1149


What is switch case in c++ syntax?

1157


What is purpose of new operator?

1126


What is istream c++?

1266