Assignment: Inheritance- Implementing an Interface
Irrational number is any real number that cannot expressed as a ratio of two whole numbers. The decimal expansion of an irrational number never repeats or ends.
• BigDecimal Class
BigDecimal class represents large floating-point numbers with high precision. Read the Java documentation of BigDecimal.
BigDecimal class can be used.
i. What is the superclass of BigDecimal class?
ii. What is the package of BigDecimal class?
iii. Which interface the BigDecimal class implements?
iv. How many instance variables the BigDecimal has?
v. How many class variables the BigDecimal has?
vi. How many constructors the BigDecimal has?