fork download
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package javaaccess;
  6.  
  7. /**
  8.  *
  9.  * @author Administrator
  10.  */
  11. public class JavaAccess {
  12.  
  13. /**
  14.   * @param args the command line arguments
  15.   */
  16. public static void main(String[] args) {
  17. // TODO code application logic here
  18. //System.out.print("Hello");
  19. }
  20. }
  21.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:11: error: class JavaAccess is public, should be declared in a file named JavaAccess.java
public class JavaAccess {
       ^
1 error
stdout
Standard output is empty