public class Solution {
    public static void main(String[] args) {
        System.out.println(getWeight(888));
    }

    public static double getWeight(int weightEarth) {
        double weightMoon = weightEarth * 0.17;
        return weightMoon;
    }
}
1)System.out.println(getWeight(888)) - здесь программа выводит на экран метод getWeight с параметром int weightEarth = 888 2) double weightMoon = weightEarth * 0.17; - здесь мы объявили переменную типа doubl с именем weightMoon, что есть произведение weightEarth * 0.17 3) что делает return? и как произведение weightMoon попадает в System.out.print в методе main ?