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 Memberfunctions 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.class is a blue print from which individual objects are created.
objects have a state and behavior. and they define the class
They are like set and element.
zxcvzcvzxcvzcv
A package is a grouping of similar classes. A class is a blue print for making an object. An object is, well, an object.
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.
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.
structure variable can access the variable but class object can access the function also
Different btw standardization and variety reduction
From the Object class.From the Object class.From the Object class.From the Object class.
different between intersection and resection
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.
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
class is template of object and object is instance of a class
object class is a super class for all other class...