C is correct answer.
Explanation:
ordinal() -> get the index of enum_value - 0
valueOf(CLOUDY) = CLOUDY, but it prints a enum -> toString is called -> SNOWY
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Uteman
9 months agominhdev
11 months agojames2033
1 year, 1 month agoSamps
1 year, 1 month ago