Ad
  • Custom User Avatar

    In Java, the type Integer is considered as deprecated and for removal :

    src/test/java/TipCalculatorTest.java:8: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
    assertEquals(new Integer(2), TipCalculator.calculateTip(30d, "poor"));