answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
User Avatar

krishay scientific

Lvl 1
3y ago
BAD
More answers
User Avatar

Wiki User

9y ago

I am not sure whether it is commonly called that; I have seen it called a "template" for objects. But in any case, the idea is quite obviously that objects are created on the basis of a class.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

I am not sure how common that description is. Anyway, the idea is that objects are made on the basis of classes. You can make a single object from a class, or lots of objects. As an example, in a Java program you can use hundreds or thousands of strings - objects that are based on the String class.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Factory classes are classes which are used to create objects, much like a real-world factory. In Java, you often use factory classes to create Border objects for GUI environments.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

a class is also called a factory of objects because it is

This answer is:
User Avatar

User Avatar

krishay scientific

Lvl 2
3y ago

KRISHAY 9J

This answer is:
User Avatar
User Avatar

krishay scientific

Lvl 1
3y ago
GOOD

Add your answer:

Earn +20 pts
Q: Why is a class called a factory of objects?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


Class is a factory of objects?

As per the definition of a class it generally defines the features and functions of an object created from it and hence it is known as the factory of objects. intiated by computerscienceexpertise.com


What is concrete method?

class in which objects can be created is called as concrete class.


What Grouping objects along with their attributes and methods into a class is called?

Composition.


How do you say class objects in french?

Class objects or Glass Objects? Class Objects is objets de classe Glass objects is objets en verre


Which is more important class or object and why and which comes first?

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.


What is an array of class objects.how the array of class of class objects is defined in c plus plus?

An array of class objects is just a set of class objects arranged linearly in memory. It is no different than an array of elementary objects. You define it the same way. class myClass { ... }; myClass arrayOfMyClass[100]; // creates 100 objects and fires the constructor 100 times


What is an abstract factory pattern?

An abstract factory pattern is a creational design pattern which decouples the object creation by providing a group of individual factories by defining an abstract factory class.


What is class and objects?

class is template of object and object is instance of a class


What kind of method is applied to all objects of a class rather than individual?

A class static method can be applied to all objects of a class.


What is the type of class for which objects can not be created?

Abstract class.


The social class of factory workers became known as what?

It was the working class.