By consulting the online documentation of the Java Class Library for the class BigDecimal, answer the following questions: a. What constructor would you use to construct a BigDecimal object from a...


By consulting the online documentation of the Java Class Library for the class BigDecimal, answer the following questions:


a. What constructor would you use to construct a BigDecimal object from a string that is rounded toward positive infinity?


b. What method would you use to convert a BigDecimal object to a floating-point value?


c. What method would you use to move the decimal point of a BigDecimal object two places to the left?


10. Why is the method equals provided for the wrapper classes in the Java Class Library?



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here