It's not. Java doesn't have "console.log();", Java has "System.out.Println();"
System.out.println("Kuke iz a nub");