public class Izracun {
public static void main(String[] args) {
sayHelloWord();
}
static void sayHelloWorld() {
System.out.println("hejjj");
}
}
ERROR u consoli:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method sayHelloWord() is undefined for the type Izracun
at Izracun.main(Izracun.java:5)