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

difference between class and object

Answer Posted / rajdeep gupta

class in a keyword to create user define data type.it is
only on logical perception .it is collection of similar
types of variable.

object is a variable of class type .there is no meaning of
class without creating object.object is made at run time on
the heap portion of ram

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

2197


What is ambiguity in inheritance?

1170


What is an example of genetic polymorphism?

1240


What are the 4 main oop principles?

1261


Give two or more real cenario of virtual function and vertual object

2362


Is this job good for future? can do this job post grduate student?

2218


Advantage and disadvantage of routing in telecom sector

1350


What is abstraction and encapsulation?

1056


What is for loop and its syntax?

1130


What is new keyword in oops?

1099


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

25599


How do you achieve runtime polymorphism?

1091


What do you mean by abstraction?

1119


Why do we need polymorphism in c#?

1217


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(); }

2688