Q. Enumeration in Java is ___.

  • (A) Data type which contains fixed set of constants
  • (B) Method
  • (C) Class
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Data type which contains fixed set of constants
Explanation: In Java, the Enumeration is a data type which contains a fixed set of constants, they are used to create our own data type like classes.
Explanation by: Team MCQ Buddy
In Java, the Enumeration is a data type which contains a fixed set of constants, they are used to create our own data type like classes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
326
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate