Sail E0 Webinar
Question
Which of these methods is used to obtain value of invoking object as a long?
Options:
A .  long value()
B .  long longValue()
C .  Long longvalue()
D .  Long Longvalue()
Answer: Option B


long longValue() is used to obtain value of invoking object as a long.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers