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

what is the difference between class and object?

Answer Posted / sanjith

Actually,
*Class is a collection of general declarations for data members and member functions ,that means it doesnot hold any memory.

*when we give certain values to a class ,objects are created.
that means a memory is allocated when objects are created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is abstraction used?

1079


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2591


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2519


what is graphics

2437


How Do you Code Composition and Aggregation in C++ ?

25410


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


What is the importance of oop?

1074


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1972


How do you explain polymorphism?

1057


How oops is better than procedural?

1080


What are constructors in oop?

1148


write a program to find 2^n+1 ?

2047


What is abstraction in oop with example?

1103


What is property in oops?

1036


What is polymorphism explain its types?

1140