answersLogoWhite

0


Best Answer

Object is an instance of a class.

Example: In general, animal is a class where as, tiger is an object.

User Avatar

Wiki User

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

Wiki User

11y ago

(a) The types of data it stores, and (b) the methods that can be run on the object.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does a class specify about an object?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do methods and functions differ?

A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.


What condition a function must specify in order to create objects of a class?

The object must have same name as that of class name.


Do you specify a storage class with typedef?

In C, "typedef" is a storage class, but sort of a weird one. It specifies that you are not actually creating an object, but merely defining a type. As such, there is nothing to be stored (at runtime). The other storage classes, auto, extern, register, and static, all specify actual storage.


What is the Object class parent?

Object is the topmost class in the Java Class hierarchy. There is no Class above Object. All classes in Java are implicitly derived from Object.


What class is the super class for ALL Java classes?

The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class. Every class you use or write inherits the instance methods of Object. You need not use any of these methods, but, if you choose to do so, you may need to override them with code that is specific to your class

Related questions

How do methods and functions differ?

A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.A method is simply a function that is defined for a class. To invoke it, you usually need to specify an object, or the class name, followed by a dot, followed by the method name.


What condition a function must specify in order to create objects of a class?

The object must have same name as that of class name.


What conditions a function must specify in order to create objects of a class?

The object must have same name as that of class name.


Why is class called an object factory?

A factory class is a class that uses the factory method pattern. Factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. Google for more info.


Do you specify a storage class with typedef?

In C, "typedef" is a storage class, but sort of a weird one. It specifies that you are not actually creating an object, but merely defining a type. As such, there is nothing to be stored (at runtime). The other storage classes, auto, extern, register, and static, all specify actual storage.


Every class in derives from what class?

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


How do you do Object Snap in GstarCAD?

Use object snaps to specify precise locations on objects. For example, you can use an object snap to draw a line to the center of a circle or to the midpoint of a polyline segment.You can specify an object snap whenever you are prompted for a point. By default, a marker and a tooltip are displayed when you move the cursor over an object snap location on an object.Specify an Object SnapTo specify an object snap at a prompt for a point, you canPress SHIFT and right-click to display the Object Snap shortcut menuClick an object snap button on the Object Snap toolbarEnter the name of an object snap at the command promptWhen you specify an object snap at a prompt for a point, the object snap stays in effect only for the next point that you specify.


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...


What is the Object class parent?

Object is the topmost class in the Java Class hierarchy. There is no Class above Object. All classes in Java are implicitly derived from Object.


What class is the super class for ALL Java classes?

The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class. Every class you use or write inherits the instance methods of Object. You need not use any of these methods, but, if you choose to do so, you may need to override them with code that is specific to your class


What is need of object in object oriented programming?

Object is an instant of the class, by using an object we can members of the class.