Computer Applications
Name the feature of class in Java depicted in the below picture.

- Displaying a set of animals
- Class in an object factory
- Animal is an object factory
- Object is a factory
Objects & Classes
21 Likes
Answer
Class in an object factory
Reason — A class is the prototype of an object. Each object belonging to a specific class possesses the data and functions defined within the class. It also produces the objects of similar type. Hence, a class is termed as 'Object Factory'.
Answered By
10 Likes
Related Questions
A class is a template for its:
- data
- functions
- objects
- methods
An object is an instance of a:
- function
- state
- data
- class
Which is a valid display() method declaration of a class Sample?
- Void Sample{int x}
- public void display()
- public void Show()
- Display{}
Creating an object of a class is also referred to as:
- Initialisation
- Creation
- Formation
- Instantiation