+ 1
console.log() v.s. System.out.println
When i first got into using Java, i was taught to display outputs using “console.log()” instead of “System.out.println” is there a difference and should i switch over? Edit: Thanks Lisa, I understand now that they’re 2 separate languages with different phrases for output.
1 Respuesta
+ 3
Javascript and Java are 2 DIFFERENT LANGUAGES.
Do not confuse Javascript and Java.