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 |
How can you check whether a record is valid record or Invalid record using ADO control or Object?
Difference between ActiveX Control and Standard Control.
Why can't I use an index with my VB accessed database?
What is the diff between the Create Object and Get object?
How to get free file location in memory?
1s it posible to Create Tables Through Querydef?
How many tabs in a tabbed dialog do you consider appropriate?
How many ways we can access file using VB?
What do you mean by Databound Controls? Explain.
In visual source safe if in middle of my program power was off and it was not save then wat will happen whether it will save or not? can any body tel me the answer for this.
Differentiate between DAO,ADO and Adodc as in data access objects?
How would you create your application in DHTML?