console.log() v.s. System.out.println | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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.

25th Apr 2024, 11:40 AM
Joker
Joker - avatar
1 ответ
+ 2
Javascript and Java are 2 DIFFERENT LANGUAGES. Do not confuse Javascript and Java.
25th Apr 2024, 11:45 AM
Lisa
Lisa - avatar