crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

First Program IntelliJ
Question Posted on 29 Mar 2024Home >> 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
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

IntelliJ IDEA Features

IntelliJ Installation

IntelliJ IDEA Tutorial

History IntelliJ IDEA

First Program IntelliJ






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap