answersLogoWhite

0


Best Answer

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

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which is more important class or object and why and which comes first?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


What class comes after first class?

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


What is the position of the first class lever?

First comes effort ,fulcrum and load


What is important duty or love?

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


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 comes first alphabetically aunt's or aunts?

are you in Mr.gilberts class? aunt's


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


What comes after is Command Sergeant Major of the army?

2nd Lieutenant.


Which of the amendments in the chart do you think was most important?

the first because god comes first


What is the first thing that comes to your mind when you hear the word food?

pizza. salads. pasta. cupcakes. i know, I'm really random.


What comes before Eagle Scout?

The Boy Scout ranks are Scout, Tenderfoot, Second Class, First Class, Star, Life, then Eagle.