06-06-2012, 06:44 AM
09-14-2012, 03:52 AM
Class contains properties and functionalities to describe group of object where as object is a collection of variables and methods. Class is defined TYPE of their instances where as object is defined as variable.
Example of class
Class XYZ
{
Public sub()
Public Mul()
}
Example of object
XYZ xyz1 = new XYZ();
Example of class
Class XYZ
{
Public sub()
Public Mul()
}
Example of object
XYZ xyz1 = new XYZ();
11-01-2012, 04:26 AM
A class is a bit of code contains properties and methods. An object is instance of the class and every object belongs to the class.
01-16-2013, 03:38 AM
Class define the properties, methods and behavior of objects. Objects are the things you create out of a class.
01-22-2013, 06:07 AM
A class is a piece of code containing methods and properties. An object is a new instance of the class from where you can use the methods & properties in the class.
04-08-2013, 03:52 AM
The class contain multiple objects and the object is an instance of the class.