Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
IntelliJ IDEA Tutorial
History IntelliJ IDEA
IntelliJ IDEA Features
IntelliJ Installation
First Program IntelliJ
 


  

 
First Program IntelliJ
Question Posted on 29 Mar 2024

Home >> Tutorial >> IntelliJ IDEA >> First Program IntelliJ


First Program IntelliJ

IntelliJ IDEA First Java Program


Here in this tutorial we will create our first Java Project. Here in this project we will going to write and execute "Hello World" program.

(1) Create Project

First of all you will start IntelliJ IDE. And then you will select File from menu then Select New -> Project. As per the below screen.


NewProject IntelliJ

Now as per the above screen you need to select the Java Project and the appropriate Project SDK. Now you need to click Next.

And after selecting the SDK, you need to type Project name and then select the project location and click on Finish.


ProjectName IntelliJ
Once you click on Finish button you will get the below screen.


Start Project IntelliJ

(2) Create Package

Now go to the project structure and then right click on src -> New -> Package. Now enter the Package Name and click Ok Button.


New Package IntelliJ

(3) Create Java Class

Now go to the Project Structure, right click src -> New ->, Java Class.


Class Save IntelliJ
Once we click on Ok Button, the Editor window with the Class Declartion will open. Here we write our code which we want to run and exeute.


Code Writing IntelliJ

(4) Run Application

Enter the following code in the Editor Window which will print the output on the console.


Code IntelliJ IDEA

Go to the Run menu and select the Run option.

Again Select the Class name and run. The output will appear on the console.


FinalCode IntelliJ IDEA





Other Important Questions
IntelliJ IDEA Features
IntelliJ Installation
IntelliJ IDEA Tutorial
History IntelliJ IDEA
First Program IntelliJ







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |