fork download
  1. // TODO: Run this program in BlueJ. If you don't have
  2. // BlueJ installed yet, run it in the Udacity IDE.
  3. // Paste the output in the text area.
  4.  
  5. // BlueJ project directory: homework0
  6.  
  7. public class Homework0
  8. {
  9. public static void main(String[] args)
  10. {
  11.  
  12. System.out.print("mama") ;
  13. System.out.println(" saya");
  14.  
  15. }
  16. }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:7: error: class Homework0 is public, should be declared in a file named Homework0.java
public class Homework0
       ^
1 error
stdout
Standard output is empty