Java MCQ Number 01112

Java MCQ Set 1 1. What is the order of variables in Enum? a) Ascending order b) Descending order c) Random order d) depends on the order() method AnswerAnswer: a [Reason:] The compareTo() method is implemented to order the variable in ascending order. 2. Can we create instance of Enum outside of Enum itself? a)…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership