0
This is my first time, I made a simple println
.
My code was exactly:
class teste {
public static void main(String[] args) {
System.out.println("oi");
}
}
No error appears, but when I go to the terminal and type javac teste.java
...!
And what’s the problem ?
– Silvio Andorinha
A tip: Do not confuse Java with Javascript, they are two totally different languages. The name is similar only because of the stupidity of who gave the name to Javascript (which came later), because it is something with little or no relation to Java. Originally you had put the Javascript tag on the question instead of Java, but I’ve already arranged it.
– Victor Stafusa