Info
Content

IntelliJ IDEA

Settings

Tab size, Indent, and Continuation indent

Sample codes use 3 - 3 - 3

Show Line Numbers

Import First Project

ch02\fig02_01

Keep going Next and select JDK folder

Run the Application

Select the main class to run

Or you can right click the class with the main method.

Creating a New Project

Choose Java

Create from template Command Line App

Update the main method

public class Main {

    public static void main(String[] args) {
	    System.out.println("Welcome to Java!");
    }
}

Run the application

No Comments
Back to top