What will be the output of the following Java code?
Check your spam folder if password reset mail not showing in inbox????
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
enum Season { WINTER, SPRING, SUMMER, FALL }; System.out.println(Season.WINTER.ordinal()); a) 0 b) 1 c) 2 d) 3 View Answer Answer: a Explanation: ordinal() method provides number to the variables defined in Enum.
enum Season
{
a) 0
See lessb) 1
c) 2
d) 3
View Answer
Answer: a
Explanation: ordinal() method provides number to the variables defined in Enum.
0