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 many number of events does the Timer controls ?
What is Vlookup introduction and formula?
How to find the current record position in data control?
How do I call a DLL?
How good are you in VB?
What are the properties of datacontrol?
How do you do multithreading application in VB
what is use of book mark in excel ? send answer in my id ashishpal11@rediffmail.com
Types of Modal windows in VB.
How can you save and Get data from Clipboard?
What is ADO?
What is ActiveX Dll and ActiveX Exe?