What is the Number class?
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 Number class?
Rating:
The java.lang package contains an abstract class Number that represents the abstract concept of numbers. This class extends the Object class and implements the Serializable interface. As the Number class is an abstract class, it is not possible to create objects that represent generic numbers. However, this class acts as a superclass of classes such as Byte, Short, Integer, Long, Float, and Double.
Rating:
Was this information helpful?
Other articles
- Modifiers
- What is StringBuilder?
- Things to practice for Sun test CX310-055.
- What is the round() method?
- What is the finalize() method?