Wrapper Questions


  1. Use an Integer wrapper to print out an int in reverse order
  2. Use a Double wrapper to be able to print a double in reverse order
  3. Print a double with 2 decimal places using wrapper
  4. Print out decimal part of a double using a wrapper class
    For Example
    Enter a number : 34.67453
    .67
  5. Using a wrapper class to print out an int with commas
    For Example
    Enter a number : 3127484
    3,127,484
  6. Write a function that will receive a double - take the integer part of that and return it in a new Integer object.
    public Integer getInteger(double d)