Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.


YOU ARE HERE: HOME Questions What is the difference between an object and a class

Class vs Object

View(s): 36590

What is the difference between an object and a class?

Answer 1)

A Class is a user defined datatype which contains the variables, properties and methods in it. A class defines the abstract characteristics of a thing (object), including its characteristics (its attributes, fields or properties) and the thing's behaviors (the things it can do, or methods, operations or features). One might say that a class is a blueprint or factory that describes the nature of something. Collectively, the properties and methods defined by a class are called members.

Object is an instance of a class. The instance is the actual object created at run-time. The object consists of state and the behavior that's defined in the object's classes

  Asked in:  SemanticSpace Technologies   Expertise Level:  Beginner
  Last updated on Monday, 29 August 2011
4/5 stars (35 vote(s))

Register Login Ask Us Write to Us Help