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?



give me some class & objects examples?..

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

More C++ General Interview Questions

If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

0 Answers  


Define the process of handling in case of destructor failure?

0 Answers  


Is ca high or low level language?

0 Answers  


Why the usage of pointers in C++ is not recommended ?

0 Answers   TCS,


Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

4 Answers   HTC, TCS,


Explain virtual class?

0 Answers  


Write a recursive program to calculate factorial in c++.

0 Answers  


How many lines of code you have written for a single program?

4 Answers   BoA,


Explain virtual functions in C++.

3 Answers  


Explain what is class definition in c++ ?

0 Answers  


What is object in c++ wikipedia?

0 Answers  


What's the order in which the local objects are destructed?

0 Answers  


Categories