Computer Applications
A class contains:
- Attributes and methods
- A number of object of same types
- Data and member function
- All of the above
Java Classes
21 Likes
Answer
All of the above
Reason — A class contains attributes and methods, a number of object of same types, data and member functions.
Answered By
5 Likes
Related Questions
Which of the members can be accessed globally?
- Private
- Public
- Protected
- All of the above
The maximum number of objects of a class can be created as:
- 1
- 2
- On the user's choice
- Number of variables
Which of the following features is not the principle of OOP?
- Encapsulation
- Transparency
- Inheritance
- Polymorphism
A package is a:
- collection of data.
- collection of functions.
- collection of classes.
- a nested class.