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

Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3797


Describe public access specifiers?

1057


what is Member Functions in Classes?

1128


What does asterisk mean in c++?

1074


Explain the difference between overloading and overriding?

1095


Write a program which uses Command Line Arguments

1125


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

1013


What is the use of string in c++?

984


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

970


What are the important differences between c++ and java?

1099


What are friend classes?

1023


What is c++ library?

1000


Is c or c++ more useful?

1001


Define virtual constructor.

1062


How come you find out if a linked-list is a cycle or not?

994