What is the difference between Object and Class?
Answers were Sorted based on User's Feedback
Answer / loganayaki
Class is a collection of data
members and functions,
whereas object is used to define
or initialize the data members and
functions present inside the class.
| Is This Answer Correct ? | 27 Yes | 0 No |
Answer / loganayaki
Class is a way to bind the data and its associated funcions
together.Its a collection of member variables and functions.
In C++,CLASS VARIABLES are called as objects.Thus objects
are used to access the attributes of the class.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / r. antony greetan
Class is a collection of methods and properties
Object is the instance of a class
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / tasavur
class is the template for objects
object is the instance of class.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / muthu annamalai
Object is a System Type. Class is a template
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / mudassir shakil
Class does not exists in the real world but object is an
entity exists in the real and follow the properties of
class.As CAR is a class and object like honda,santro follows
the properties like acceleration,gear and break etc..
| Is This Answer Correct ? | 3 Yes | 1 No |
What is the use of Imagelist Controls
Can We create CGI scripts in VB?
what is a property to resize a label control according to your caption?
What is executenonquery in vb net?
Is it possible to call backend procedures with ADO control?
How can you save and Get data from Clipboard?
How can you Navigate from the DHTML application to another DHTML application? .
what is the Property used to add a menus at runtime?
what are the Differences between ActiveX Control and Standard Control?
How would you attach an ActiveX control in Your Application?
Binary Access-method is used to access file in which manner?
How do I make my applications screen-resolution independent?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)