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.
Buy membership
Already a member? Log in here
ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.