answersLogoWhite

0

It is possible to have more than one instance of the same class, because the class is simply the blue print for the actual object.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

When the object is created?

The computer desktop encyclopedia saysIn object technology, to create an object of a specific class(1) A single copy of a running program. Multiple instances of a program mean that the program has been loaded into memory several times. (2) In object technology, a member of a class; for example, "Lassie" is an instance of the class "dog." When an instance is created, the initial values of its instance variables are assigned.


WHAT IS A specific instance of a class is called?

Specific instance of a class is called object of that class.


What do you mean by instance of the class?

I have no idea. Was going to ask you the same question...An instance method represent the behavior of an object


How a temporary instance of a class different from object of a class?

A temporary instance of a class is typically created for immediate use, often in expressions or as a function argument, and it exists only for the duration of that expression. In contrast, an object of a class is a more permanent instance that is explicitly allocated and can be manipulated or referenced throughout its lifespan in the program. While both represent instances of a class, temporary instances are usually not stored in a variable and are discarded after use, whereas objects can be assigned to variables and have a defined scope.


What is the difference between a class method and an instance method?

Instance methods can be called by the object of a Class whereas static method are called by the Class. When objects of a Class are created, they have their own copy of instance methods and variables, stored in different memory locations. Static Methods and variables are shared among all the objects of the Class, stored in one fixed location in memory.Static methods cannotaccess instance variables or instance methods directly-they must use an object reference. Also, class methods cannot use the this keyword as there is no instance for this to refer to.

Related Questions

When the object is created?

The computer desktop encyclopedia saysIn object technology, to create an object of a specific class(1) A single copy of a running program. Multiple instances of a program mean that the program has been loaded into memory several times. (2) In object technology, a member of a class; for example, "Lassie" is an instance of the class "dog." When an instance is created, the initial values of its instance variables are assigned.


is it possible to getfree cna class?

No, CNA class are not offered for free since it is a professional training program.


What is teleportation Alice in gakuen Alice?

if you are asking about the class it is in Latent Class


Explain instantiation of objects in c plus plus?

Instantiation of a class literally means creating an instance of a class. This is the process of allocating memory for an object that you can use in your program.


WHAT IS A specific instance of a class is called?

Specific instance of a class is called object of that class.


If you race change to a race that doesn't have your class in wow do you get to change the race and class or is it not possible to make the change or is it possible to also do a class change?

Class changes are not possible in World of Warcraft at this time. If you want to change your race, you can only choose from races which have your current class available. For instance, if you are a Night Elf Druid, you can only change into a Worgen, Tauren or Troll - these are races that have the Druid class available.


What do you mean by Get instance?

It means create an object for a class. Instance refers to the obj of a class.


What do you mean by instance of the class?

I have no idea. Was going to ask you the same question...An instance method represent the behavior of an object


How a temporary instance of a class different from object of a class?

A temporary instance of a class is typically created for immediate use, often in expressions or as a function argument, and it exists only for the duration of that expression. In contrast, an object of a class is a more permanent instance that is explicitly allocated and can be manipulated or referenced throughout its lifespan in the program. While both represent instances of a class, temporary instances are usually not stored in a variable and are discarded after use, whereas objects can be assigned to variables and have a defined scope.


What are instance variables?

These are normal variables declared within a class that are attached to an object instance of a class.


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 difference between an instance variable and a class variable?

An instance variable is typically associated with an object instance of the class whereas class variable is not associated with any object instance. Static variables are referred to as class variables while non-static regular variables are called instance variables. Simply put, you will have as many instances of the instance variable as there are object instances. i.e., if there are 10 instances of an object, you will have 10 instances of that instance variable as well. But, there will be only one instance of the static or class variable. Instance variables are accessed as follows: objname.variableName; Class variables are accessed as follows: ClassName.variableName;