Java Java Basics Getting Started with Java Strings and Variables

why jave is different in Treehouse

In other online courses java is system.outprintln("hello world") in treehouse is console.println("hello world') what is the difference

1 Answer

Sean M
Sean M
7,336 Points

system.outprintln("hello world") is specific for Java around the world if you're using a development kit.

console.println("hello world') is specific to the workspace used in the treehouse lectures.