Welcome to the first chapter of the Java course! 🚀
Java is a popular programming language designed by James Gosling to be “written once, run anywhere” with a Java Virtual Machine (JVM).
Java is most known for powering Android OS and Android Development. It's also used for video games (Minecraft), websites (eBay), and the language of choice in high schools (AP Computer Science) and college CS classes around the world.
Java files have the .java extension, and we'll use the code editor provided here to write our code. 👉
Let's dive right in. You'll be coding in no time!
Copy the following code and paste it on line 2:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("☕️☕️☕️☕️☕️");
}
}
Click “Run” to see the coffee cups displayed on the console. ‧₊˚✩彡
Press the "Complete" button and then "Next" to continue.
Console
01. First Program
02. Hello World
03. Cooking Mama
04. Error Logs
05. Music Wrapped
01. First Program
10 XP