Question
a.
long value()
b.
long longValue()
c.
Long longvalue()
d.
Long Longvalue()
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these methods is used to obtain value of invoking object as a long?
Similar Questions
Discover Related MCQs
Q. Which of these class have only one field ‘TYPE’?
View solution
Q. Which of the following method of Process class can terminate a process?
View solution
Q. Standard output variable ‘out’ is defined in which class?
View solution
Q. Which of these class can encapsulate an entire executing program?
View solution
Q. Which of the following is method of System class is used to find how long a program takes to execute?
View solution
Q. Which of these class holds a collection of static methods and variables?
View solution
Q. Which of these class is a superclass of all other classes?
View solution
Q. Which of these method of Object class can generate duplicate copy of the object on which it is called?
View solution
Q. What is the value of double consonant ‘E’ defined in Math class?
View solution
Q. Which of these method is a rounding function of Math class?
View solution
Q. Which of these class contains only floating point functions?
View solution
Q. Which of these class encapsulate the runtime state of an object or an interface?
View solution
Q. What is the value of “d” after this line of code has been executed?
double d = Math.round ( 2.5 + Math.random() );
View solution
Q. Which of these exceptions is thrown by methods of System class?
View solution
Q. Which of these methods initiates garbage collection?
View solution
Q. Which of these methods loads the specified dynamic library?
View solution
Q. Which of these method can set the out stream to OutputStream?
View solution
Q. Which of these values are returns under the case of normal termination of a program?
View solution
Q. Which of these is a super class of wrappers Double and Float?
View solution
Q. Which of the following methods return the value as a double?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!