answersLogoWhite

0

Class is obviously more important than an object because an object is an instance of a class. A class may contain many objects, all of which are instances of that particular class. Class is also called the object factory because it contains all the statements needed to create an object and its attributes. A class also contains the statements that describe the operations that the created objejct will be able to perform. Therefor a class is more important and obviously come first.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What comes first class or classes?

Class


When a derived class object is deleted which gets deleted first - the base class object or the derived class object?

When there is no further use of derived class obect in execution sequence then It gets deleted. calling of distructor sequence is reverse of constructor calling sequence ,so first derived class obect deleted than base class obect.


Which comes first -you or I or me?

Alphabetically - I comes first, then me, then you. Grammatically - it depends on the context of the sentence.


What class comes after first class?

Leading, that's if your talking about Air Cadet ranks.


What comes first alphabetically aunt's or aunts?

are you in Mr.gilberts class? aunt's


How is a third class relic identified?

A third class relic is identified by an object that has been touched to a first or second class relic, or a tomb or article that has been in contact with a saint's body. These relics are an important part of devotion for many Catholics and are often distributed by churches and religious organizations.


What is important duty or love?

First Important thing is duty.. then comes Love..Love our duty first ..Then all love comes automatically...


What is the purpose of constructor in object oriented programming?

A constructor in a class is one of the first pieces of code to be executed when you instantiate a class. The purpose of constructors is to have code that initialize the class and prepare the variables that may be required by the class...


Why is a crowbar a first class lever?

A crowbar is a first-class lever because the fulcrum is located between the effort force (where you push or pull) and the resistance force (the object you are trying to move). This design allows for greater force to be exerted on the object being lifted.


Is a screwdriver a 2nd class lever?

Yes, a screwdriver is a 2nd class lever. In a second-class lever, the load is located between the fulcrum (pivot point) and the effort force. When using a screwdriver, the fulcrum is the point where the screwdriver rests against the object being turned, the load is the resistance of the screw being turned, and the effort comes from the force applied to the handle.


What comes after is Command Sergeant Major of the army?

2nd Lieutenant.


Is a wrench a first class lever?

No. In a first class lever, the fulcrum is in the middle. Such as see-saws.