package com.qa.java.sandbox;

public class HelloWorldNew {

    public static void main(String[] args) {
	    System.out.println("Hello, world");
    }
}
	
package com.qa.java.sandbox;

public class HelloWorldNew {

    public static void main(String[] args) {

	    hello("world");
      double  l = 5;

      System.out.println("Площадь квадрата со стороной " + l + " = "+ area(l));

      double a=4;
      double  b=6;

      System.out.println("Площадь прямоуголника со сторонами " + a + " и " + b + "=" + area(a,b));
    }
  public static void hello(String somebody){
    System.out.println("Hello " + somebody + "!");
  }
  public static double area(double l) {
    return  l * l;
  }
  public static double area(double a, double  b){
    return a * b;
  }
}
	
add function