What is the intValue() 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 intValue() method?
Rating:
The intValue() method returns a primitive type int value after converting the numeric value wrapped by the invoking object to a primitive type int. The intValue() method is an abstract method of the Number class. Classes that extend the Number class implement the intValue() method and provide their own definition of the method.
Rating:
Was this information helpful?
Other articles
- What is method overriding in Java?
- What is an enumeration?
- What is the floatValue() method?
- What is the bitwise OR operator?
- What is Serializable?