mercredi 26 juillet 2017

java.lang.System.out.println doesnt give sentence out

Dear stackoverflow Comunnity

I am learning Java and tried the first time to make a code with "if"

public final class Main {

  public static void hallo( final java.lang.String name )
  { java.lang.System.out.println( "Hallo " + name + "!" ); }

  public static void main( final java.lang.String[] args )
  {
    double Caleb = 1.48;
    double Alma = 1.55;
  if (Caleb > Alma) {
    java.lang.System.out.println("NEEEIINN");
  }

   }
}

But if I try this code oout it doesnt print anything out.

Pleasy help me!

Aucun commentaire:

Enregistrer un commentaire