Writing Your First Java Program in IntelliJ (2202.1)

preview_player
Показать описание
This video is part of the series I created for the course that I’m teaching titled: Object-Oriented Design in Java. Currently there isn’t a lab component in this course, so I thought it would helpful to do a little bit of demo as well as explanation for some of the materials that I cover in the course. This might also be helpful for those of you who are starting to learn Java.

I'd assume you to have a bit of experience in programming language and have some ideas about basic data structures.

In this first video I am going to go through the steps of setting up the IntelliJ IDE for Java and write our very first Java program. I’ll also show how methods are called in the Java code using a simple example.

2:30 Creating a new project*
4:41 Creating a source code file
6:04 Writing the entry point of the Java program (the main method)
7:26 Printing the Hello World message
8:26 Building and running the Java program
10:31 Defining another member method
13:10 Fixing the issue where a non-static method is being referenced

*There might be times where you have to select the SDK IntelliJ is going to use to build the project (SDK stands for Java Development Kit which contains all the tools to develop Java applications and is updated regularly). To do so, go to File... Project Structure, then in the dialog box select the SDK version you want at Project Settings... Project
Рекомендации по теме
Комментарии
Автор

Why don't u use Println command twice to print both line.?

Aamina_Khaan
visit shbcf.ru