answersLogoWhite

0

Different between class and object

Updated: 8/16/2019
User Avatar

Wiki User

11y ago

Best Answer


ANS By : The Dj Ak

www.thedjak.co.nr

www.thedjak.webs.com

join The Dj Ak world : www.the-dj-ak.webs.com

Object

1.Object can't define classes

2. Objects are the basic building concepts of oops.Objects are the

basic runtime entities in an object oriented sysyem...In other words data

and function which combine into a single entity is called object.

3. Objects are instances of classes which identifies the class propeties.

A particular class can have it's own class which makes it identifying it's object.

4. Object is an instance of a class.

5. A software bundle of related state and behavior. Stores the

state in fields and express its behavior through methods.

The methods operate on an object's internal state. Object

is a Physical reality.

6. Object is an Instance of the class.The class is a valid one when object is created. For one class we will have more number of Objects. declaration of class in class classname

7. When instantiate the object, allocates the memory Space.

Class

1.classe(s) defines object

2. A class combine data(called data members)and functions(called member

functions)Class is a logical framework that defines the relationship

between it's members and act as a templatefor creating it's variable

calledobjects.

3. Class is a userdefined datatype with data members and member functions

which can be public or privately accessed depending on access specifiers.

4. Class is templet for an object.

5. We can define a class as a blueprint from which the

individual objects are created. Uses a new operator to

create the instance of the class. Class is a logical

construct.

6. class is an abstract data type in which both Member

functions and member variable are declared that means

aclass is userdefined data type in which we will be able to

declare both methods and variable.

7. Class is just a template. It does not allocate memory space.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

class is a blue print from which individual objects are created.

objects have a state and behavior. and they define the class

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

They are like set and element.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Different between class and object
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you ensure compatibility of persistent object formats between different class versions?

zxcvzcvzxcvzcv


What difference between package class and object?

A package is a grouping of similar classes. A class is a blue print for making an object. An object is, well, an object.


What is the difference between classes and object in C?

An object is an INSTANCE of a class. Human is a class, while YOU are a person, an instance of Human class, but YOU do not represent the entire human class. Or, a class provides the abstraction, and an object is a typical example of that abstraction. Classes provide a blue print to build a real instance of an object.


What is the difference between a class method and object in object-oriented C?

Class methods are the member functions that act upon member variables. An object is an instance of a class. C does not support object-oriented programming, but C++ does.


What is difference between struct variable and class object?

structure variable can access the variable but class object can access the function also


What is the Difference between variety reduction and Standardization?

Different btw standardization and variety reduction


Every class in derives from what class?

From the Object class.From the Object class.From the Object class.From the Object class.


What is the difference between resection and intersection in surveying?

different between intersection and resection


What is difference between classes and objects?

Posted by : Govind Singh Lodhithese are the following differences between java class and object.1. Class is a way of bind data member and method in single unit where as a object is a value form of a class or a instance of a class that means allocating sufficient amount of memory space.2. When we define a class ,there is no memory space allocated for data member of a class where as when we create a object of a class memory space is allocated for data members of a class.3.Class will have exist logically where as object will have exist physically.4.One class can have only one name where as corresponding one class we can create multiple object.5.Class load in main memory by using class loader subsystem where as after load class we can create multiple objects of a class.


What is mean by Classes and Objects?

an Object is an instance of the Class for ex: Integer i = new Integer (1); i is an object of the Class Integer. of courses classes contain variables and methods and constructors. although the Object Class is a different case, it's the main class that all the classes in java are subClasses of it


What is class and objects?

class is template of object and object is instance of a class


What is object class in java?

object class is a super class for all other class...