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 object and class

Answers were Sorted based on User's Feedback



what is the difference between object and class..

Answer / prema

Class is a template or a plan for creating objects.

For example: For construction of building we need a plan.
Without plan we can't construct building. Here plan acts as
class. Building acts as object.Using the same plan we can
build any number of building.

In the same way we can create any number of objects for the
same class.Class tell whats the object state and behaviour.
Basically class tells what the object should have.

Object is an real world entity, which has something and
which know something. It means ojects has state and
behaviour.State of the object is represented by instance
variable. Behaviours are representd by methods.

Is This Answer Correct ?    24 Yes 2 No

what is the difference between object and class..

Answer / manasa

class is a blueprint of an object
object is a run time entity
class consists of methods n statements

Is This Answer Correct ?    11 Yes 2 No

what is the difference between object and class..

Answer / sreekanth reddy

object is physical existance and class is the logical existance

Is This Answer Correct ?    6 Yes 5 No

what is the difference between object and class..

Answer / sitaram

Object is a instance of a class.
Class is a template for an object.

Example: suppose we are going to hotel.first we will check
the menu. Menu is a class. we can select the one item from
menu. item is a method or variable. how to select the item.
we can create the object of menu. That is instance of
menu(Object).

Is This Answer Correct ?    4 Yes 3 No

what is the difference between object and class..

Answer / gv praveen kumar

class is a process of binding data members and methods in a single unit,that unit is known as class.and class variables is known as object.

Is This Answer Correct ?    2 Yes 1 No

what is the difference between object and class..

Answer / hong

What kind of members they can refer to:
Class - only static members;
Object - all members.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between object and class..

Answer / prashanth

Class is an user defined type and objects are its types.
If car is a class different types of cars are its objects.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between object and class..

Answer / manish

Group of Similar type thigs comes under the class.
Eg: Suppose if we are talking about the Car, then There are many companies who makes Cars. And suddenly you see any car so that car is object of type car class.
or we can say class is blueprint,prototype or data type..
and object is buffer..

Is This Answer Correct ?    0 Yes 0 No

what is the difference between object and class..

Answer / praveen

--- Object is physically exist but class doesn't exist
physically.

Ex: Object: rose, Lilly.
Class : Flowers

Is This Answer Correct ?    2 Yes 5 No

what is the difference between object and class..

Answer / rakesh verma

object is any real thing,just like employ is object and
person is class.
class is instance of class.

Is This Answer Correct ?    4 Yes 26 No

Post New Answer

More Core Java Interview Questions

A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet

3 Answers  


Why singleton class is used in java?

0 Answers  


What are synchronized blocks in java?

0 Answers  


what is use of marker interface? give me good example?

2 Answers  


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

2 Answers   iGate, Seed Infotech,


How does final modifier work?

1 Answers   Tech Mahindra,


There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?

5 Answers   HCL,


What is the method overriding?

0 Answers  


What is an example of declaration?

0 Answers  


How do you calculate square roots?

0 Answers  


Explain throw keyword in java?

0 Answers  


what are Hostile Applets?

0 Answers  


Categories