What is the doubleValue() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the doubleValue() method?
Rating:
The doubleValue() method returns a primitive type double value after converting the numeric value wrapped by the invoking object to a primitive type double. The doubleValue() method is declared as abstract in the Number class. Therefore, the classes that extend the Number class implement the doubleValue() method providing their own definition of the method.
Rating:
Was this information helpful?
Other articles
- What is serialization?
- What is the PriorityQueue class?
- What is the toArray() method?
- What is a JAR file?
- A Closer Look at Methods