Computer Applications
The maximum number of objects of a class can be created as:
- 1
- 2
- On the user's choice
- Number of variables
Java Classes
22 Likes
Answer
On the user's choice
Reason — A user can create any number of objects of a class.
Answered By
4 Likes
Related Questions
Which of the following keywords are used to control access to a class member?
- Default
- Abstraction
- Protected
- Interface
Which of the members can be accessed globally?
- Private
- Public
- Protected
- All of the above
A class contains:
- Attributes and methods
- A number of object of same types
- Data and member function
- All of the above
Which of the following features is not the principle of OOP?
- Encapsulation
- Transparency
- Inheritance
- Polymorphism