One method or object behaves differently at different situations.
System.out.println("the area of square "+ Math.pow(x, 2)+" sq units"); ...