From the course: Learning Java 11
Unlock the full course today
Join today to access over 23,700 courses taught by industry experts.
Hello World in an IDE - Java Tutorial
From the course: Learning Java 11
Hello World in an IDE
- [Instructor] Let's create our first Java File in the IntelliJ IDE. We'll left-click the SRC, or Source Code Folder, hover over New and click Java Class. We'll call this class, Main. This is still creating a Java File, but it's pre-populating a class called Main. This middle area is the code editor and it looks a lot like what we saw in Sublime. The code editor is where we can access the content of our Java Files. And in this case, the content of the Main.Java File. We can recreate some of the Java code we created before in Sublime. Instead of typing out that long name function with public static void, we can just type Main and the IDE pre-populates it for us. Remember when we talked about boilerplate code? Every Java program must have a Main function, so the IDE has shortcuts that make some of that boilerplate code easier and faster to write. This shortcut, where we type in a word and the IDE completes it for us…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is Java?1m 47s
-
(Locked)
Downloading Java on your computer1m 36s
-
(Locked)
Exploring the command line3m 48s
-
(Locked)
Your first Java program4m
-
(Locked)
Hello World in the command line3m 19s
-
(Locked)
Exploring an integrated development environment (IDE)3m 40s
-
(Locked)
Hello World in an IDE3m 39s
-
-
-
-
-
-
-