I copied the above from a website because i am following a tutorial online and it was just showing me how to compile script. I am using Java jdk 1.7.0_25 and when i go into command prompt and "javac" the java file containing this hello world script i get this;
"C:\Test>javac youtube.java
youtube.java:3: error: unclosed string literal
System.out.println("Hello World);
^
youtube.java:3: error: ';' expected
System.out.println("Hello World);
^
youtube.java:5: error: reached end of file while parsing
}
^
3 errors"
how is it that i copied a script from the internet yet i get errors? D: