package ru.stqa.pft.sandbox;

public class MyFirstProgram {

    public static void main(String[] args) {
        System.out.println("Hello, world!");
    }
}
package ru.stqa.pft.sandbox;

public class MyFirstProgram {

    public static void main(String[] args) {
      hello("world");
      hello("user");
      hello("test");

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

      double a = 5;
      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 len) {
      return len * len;
    }

    public static double area(double a, double b) {
      return a * b;
    }

}
Add some functions