title: How to resolve java class?
body: <pre><code>import java.util.Scanner;
  
  import javax.print.DocFlavor.STRING;
  
  public class NEWJAV {
      public static void main(String[] args) {
          Scanner data = new Scanner(System.in);
          int umur;
          double tinggi;
          String nama;
          char jk;
          boolean aktif;
          System.out.println(&quot;Data Mahasiswa :&quot;);
          System.out.print(&quot;Ab&quot;);
          nama = data.nextLine(nama);
          System.out.print(&quot;18 Tahun&quot;);
          umur = data.nextInt(umur);
          System.out.print(&quot;166 cm&quot;);
          tinggi = data.nextDouble(tinggi);
          System.out.print(&quot;Laki-Laki&quot;);
          jk = data.next(jk);
          System.out.print(&quot;Aktif? :&quot;);
          aktif = data.nextBoolean(aktif);
          jk = data.next().charAt(0);
          System.out.print(&quot;Aktif ? :&quot;);
          aktif = data.nextBoolean();
          System.out.println(
                  &quot;nama&quot; + nama + &quot;mempunyai umur&quot; + umur + &quot; ,mempunyai tinggi&quot; + tinggi + &quot;Jenis Kelamin :&quot; + jk);
          System.out.println(&quot;Aktif&quot; + aktif);
      }
  }
  </code></pre>