Home » JAVA Programming » Basic Datatypes » Question
  1. Which of these methods is used to obtain value of invoking object as a long?
    1. Long Longvalue()
    2. Long longvalue()
    3. long value()
    4. long longValue()
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.