SlideShare a Scribd company logo
Mobile App:IT
Eclipse Basics and Hello World
IHS GIRLS TECH CLUB: ECLIPSE
BASICS AND HELLO WORLD
CREATING YOUR FIRST JAVA PROGRAM
The first steps in
creating our
Hello World
program is to create
our Java project
To do this click on
File/New/Project
CREATING YOUR FIRST JAVA PROGRAM
This will open the New
Project Wizard.
Select Java Project and
click Next>
For the Project Name
type "HelloWorld"
and click Finish
All other fields
can remain in their
default setting
After the project has
been created, you
have to create a class.
To do this, go to
File/New/Class
Under Source folder browse
and find the src for the project
you created earlier. When
completed the source folder
text field should read
HelloWorld/src
For the class name enter
"HelloWorld"
Make sure that the "public
static void main(string[] args)"
checkbox is checked.
All other fields may be left as
default
Click Finish
We have now created both the project and class. These steps will
have to be completed every time we start a new java program.
Once you create a class your .java program should load and look
like this. At this time don't worry about what everything means,
we will cover that as the class moves forward
WRITING THE CODE
As you have already learned, Java follows simple syntax when
writing program instructions.
To write the code for Hello World
type the following inside the
main method.
Click Save
UNDERSTANDING THE CODE
If we were to break out the line of code we just wrote it would
read as follows.
Computer (system) output (.out) this line (println) Hello World!
("Hello World!";).
RUNNING THE CODE
To run your code, click on Run/Run As/Java Application
Doing this will load a dialog box where you select your
HelloWorld.java file. Click OK
You can also click on Run/Run to do the same thing.
VIEWING THE CONSOLE
By default you should see the output of your .java program
below in the console section. If the window is not appearing click
on Window/Show View/Console
If the code has been added correctly you should see Hello World
being outputted.
HELLO WORLD OVERVIEW
1.Create a project (HelloWorld)
2.Create a class (HelloWorld)
3.Add code (System.out.println("Hello World!");
4.Run code (Run/Run As/Java Application)
These are the four basic steps to all Java programming.
Now Change the Hello World text to say “Your Name” and run
the application.
NEED MORE HELP?
Eclipse comes with its own Hello World tutorial. You can access
the tutorial from the Welcome Screen.
To get to the Welcome Screen select Help > Welcome from the
menu bar. Click the tutorials icon and then select Create a Hello
World Application.
This tutorial walks you through the entire Hello World
application building process.

More Related Content

What's hot

How to upload a powerpoint presentation to your blog
How to upload a powerpoint presentation to your blogHow to upload a powerpoint presentation to your blog
How to upload a powerpoint presentation to your blog
HelenWeatherhead
 
Construct 2: Exporting & Publishing to Web, Win8 and WP8
Construct 2: Exporting & Publishing to Web, Win8 and WP8Construct 2: Exporting & Publishing to Web, Win8 and WP8
Construct 2: Exporting & Publishing to Web, Win8 and WP8
Shahed Chowdhuri
 
How to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
How to Upload a Video on Youtube and Share The Link on Aula Virtual MoodleHow to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
How to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
Jose Morera
 
Manual
ManualManual
Manual
guest5845806
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
Romario Koushik
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
sivachandra mandalapu
 
Where can i save my stuff on the web
Where can i save my stuff on the webWhere can i save my stuff on the web
Where can i save my stuff on the web
cindygeddes
 
How to Use Jing - Liezel Kabigting - Simpliezel.m4v
How to Use Jing - Liezel Kabigting - Simpliezel.m4vHow to Use Jing - Liezel Kabigting - Simpliezel.m4v
How to Use Jing - Liezel Kabigting - Simpliezel.m4v
Liezel Kabigting
 
Quire Guide (English ver.)
Quire Guide (English ver.)Quire Guide (English ver.)
Quire Guide (English ver.)
Crystal Chen
 
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistIntro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Lauren Hayward Schaefer
 
Google Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline modeGoogle Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline mode
Protect and Access
 
Girl Scouts Website Designer Badge Seminar - Presentation Slides
Girl Scouts Website Designer Badge Seminar - Presentation SlidesGirl Scouts Website Designer Badge Seminar - Presentation Slides
Girl Scouts Website Designer Badge Seminar - Presentation Slides
Lauren Hayward Schaefer
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
Lauren Hayward Schaefer
 
Slick2 d and netbeans8 installation problems
Slick2 d and netbeans8 installation problemsSlick2 d and netbeans8 installation problems
Slick2 d and netbeans8 installation problems
Alejandro Colomer Everett
 
Cloud hub deployment
Cloud hub deploymentCloud hub deployment
Cloud hub deployment
sivachandra mandalapu
 
Technology
TechnologyTechnology
Technology
naylovesu
 
Dreamweaver & Me PPT
Dreamweaver & Me PPTDreamweaver & Me PPT
Dreamweaver & Me PPT
electricgeisha
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
Ace Web Academy -Career Development Center
 
IBM cognos work space configuration.pptx
IBM cognos work space configuration.pptxIBM cognos work space configuration.pptx
IBM cognos work space configuration.pptx
vishal choudhary
 
Phonegap on iphone
Phonegap on iphonePhonegap on iphone
Phonegap on iphone
Sushan Sharma
 

What's hot (20)

How to upload a powerpoint presentation to your blog
How to upload a powerpoint presentation to your blogHow to upload a powerpoint presentation to your blog
How to upload a powerpoint presentation to your blog
 
Construct 2: Exporting & Publishing to Web, Win8 and WP8
Construct 2: Exporting & Publishing to Web, Win8 and WP8Construct 2: Exporting & Publishing to Web, Win8 and WP8
Construct 2: Exporting & Publishing to Web, Win8 and WP8
 
How to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
How to Upload a Video on Youtube and Share The Link on Aula Virtual MoodleHow to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
How to Upload a Video on Youtube and Share The Link on Aula Virtual Moodle
 
Manual
ManualManual
Manual
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
 
Where can i save my stuff on the web
Where can i save my stuff on the webWhere can i save my stuff on the web
Where can i save my stuff on the web
 
How to Use Jing - Liezel Kabigting - Simpliezel.m4v
How to Use Jing - Liezel Kabigting - Simpliezel.m4vHow to Use Jing - Liezel Kabigting - Simpliezel.m4v
How to Use Jing - Liezel Kabigting - Simpliezel.m4v
 
Quire Guide (English ver.)
Quire Guide (English ver.)Quire Guide (English ver.)
Quire Guide (English ver.)
 
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistIntro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
 
Google Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline modeGoogle Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline mode
 
Girl Scouts Website Designer Badge Seminar - Presentation Slides
Girl Scouts Website Designer Badge Seminar - Presentation SlidesGirl Scouts Website Designer Badge Seminar - Presentation Slides
Girl Scouts Website Designer Badge Seminar - Presentation Slides
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
 
Slick2 d and netbeans8 installation problems
Slick2 d and netbeans8 installation problemsSlick2 d and netbeans8 installation problems
Slick2 d and netbeans8 installation problems
 
Cloud hub deployment
Cloud hub deploymentCloud hub deployment
Cloud hub deployment
 
Technology
TechnologyTechnology
Technology
 
Dreamweaver & Me PPT
Dreamweaver & Me PPTDreamweaver & Me PPT
Dreamweaver & Me PPT
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
IBM cognos work space configuration.pptx
IBM cognos work space configuration.pptxIBM cognos work space configuration.pptx
IBM cognos work space configuration.pptx
 
Phonegap on iphone
Phonegap on iphonePhonegap on iphone
Phonegap on iphone
 

Similar to 03 eclipse basics & hello world

Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipse
nga
 
Developing Java SWT Applications - A Starter
Developing Java SWT Applications - A StarterDeveloping Java SWT Applications - A Starter
Developing Java SWT Applications - A Starter
vcaselli
 
Unit2 java
Unit2 javaUnit2 java
Unit2 java
mrecedu
 
Java lab1 manual
Java lab1 manualJava lab1 manual
Java lab1 manual
nahalomar
 
intro-to-eclipse.pdf
intro-to-eclipse.pdfintro-to-eclipse.pdf
intro-to-eclipse.pdf
Sajeev P
 
Class 1 blog
Class 1 blogClass 1 blog
Class 1 blog
Narcisa Velez
 
Unit of competency
Unit of competencyUnit of competency
Unit of competency
loidasacueza
 
Java interview question
Java interview questionJava interview question
Java interview question
simplidigital
 
Hello world pascal tutorial
Hello world pascal tutorialHello world pascal tutorial
Hello world pascal tutorial
Serghei Urban
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
mrinalbhutani
 
itft-Overview of java language
itft-Overview of java languageitft-Overview of java language
itft-Overview of java language
Atul Sehdev
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Ali Baba
 
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docxModule Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
roushhsiu
 
I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducat
Pragati Singh
 
Class 1
Class 1Class 1
Class 1
Dario Pilozo
 
Class 1
Class 1Class 1
Class 1
Dario Pilozo
 
OOPM Introduction.ppt
OOPM Introduction.pptOOPM Introduction.ppt
OOPM Introduction.ppt
vijay251387
 
Easy java installation & practice
Easy java installation & practiceEasy java installation & practice
Easy java installation & practice
Nooria Esmaelzade
 
Intro to programing with java-lecture 1
Intro to programing with java-lecture 1Intro to programing with java-lecture 1
Intro to programing with java-lecture 1
Mohamed Essam
 
Java Intro: Unit1. Hello World
Java Intro: Unit1. Hello WorldJava Intro: Unit1. Hello World
Java Intro: Unit1. Hello World
Yakov Fain
 

Similar to 03 eclipse basics & hello world (20)

Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipse
 
Developing Java SWT Applications - A Starter
Developing Java SWT Applications - A StarterDeveloping Java SWT Applications - A Starter
Developing Java SWT Applications - A Starter
 
Unit2 java
Unit2 javaUnit2 java
Unit2 java
 
Java lab1 manual
Java lab1 manualJava lab1 manual
Java lab1 manual
 
intro-to-eclipse.pdf
intro-to-eclipse.pdfintro-to-eclipse.pdf
intro-to-eclipse.pdf
 
Class 1 blog
Class 1 blogClass 1 blog
Class 1 blog
 
Unit of competency
Unit of competencyUnit of competency
Unit of competency
 
Java interview question
Java interview questionJava interview question
Java interview question
 
Hello world pascal tutorial
Hello world pascal tutorialHello world pascal tutorial
Hello world pascal tutorial
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
itft-Overview of java language
itft-Overview of java languageitft-Overview of java language
itft-Overview of java language
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docxModule Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
Module Six Assignment Guidelines and Rubric.htmlOverviewMa.docx
 
I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducat
 
Class 1
Class 1Class 1
Class 1
 
Class 1
Class 1Class 1
Class 1
 
OOPM Introduction.ppt
OOPM Introduction.pptOOPM Introduction.ppt
OOPM Introduction.ppt
 
Easy java installation & practice
Easy java installation & practiceEasy java installation & practice
Easy java installation & practice
 
Intro to programing with java-lecture 1
Intro to programing with java-lecture 1Intro to programing with java-lecture 1
Intro to programing with java-lecture 1
 
Java Intro: Unit1. Hello World
Java Intro: Unit1. Hello WorldJava Intro: Unit1. Hello World
Java Intro: Unit1. Hello World
 

More from Zeeshan-Shaikh

12 installing eclipse
12   installing eclipse12   installing eclipse
12 installing eclipse
Zeeshan-Shaikh
 
07 java variables
07   java variables07   java variables
07 java variables
Zeeshan-Shaikh
 
06 java methods
06 java methods06 java methods
06 java methods
Zeeshan-Shaikh
 
02 java programming basic
02  java programming basic02  java programming basic
02 java programming basic
Zeeshan-Shaikh
 
Thinking like a programmer presentation
Thinking like a programmer presentationThinking like a programmer presentation
Thinking like a programmer presentation
Zeeshan-Shaikh
 
Girls tech club presentation
Girls tech club presentationGirls tech club presentation
Girls tech club presentation
Zeeshan-Shaikh
 

More from Zeeshan-Shaikh (6)

12 installing eclipse
12   installing eclipse12   installing eclipse
12 installing eclipse
 
07 java variables
07   java variables07   java variables
07 java variables
 
06 java methods
06 java methods06 java methods
06 java methods
 
02 java programming basic
02  java programming basic02  java programming basic
02 java programming basic
 
Thinking like a programmer presentation
Thinking like a programmer presentationThinking like a programmer presentation
Thinking like a programmer presentation
 
Girls tech club presentation
Girls tech club presentationGirls tech club presentation
Girls tech club presentation
 

Recently uploaded

DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 

Recently uploaded (20)

DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 

03 eclipse basics & hello world

  • 1. Mobile App:IT Eclipse Basics and Hello World IHS GIRLS TECH CLUB: ECLIPSE BASICS AND HELLO WORLD
  • 2. CREATING YOUR FIRST JAVA PROGRAM The first steps in creating our Hello World program is to create our Java project To do this click on File/New/Project
  • 3. CREATING YOUR FIRST JAVA PROGRAM This will open the New Project Wizard. Select Java Project and click Next>
  • 4. For the Project Name type "HelloWorld" and click Finish All other fields can remain in their default setting
  • 5. After the project has been created, you have to create a class. To do this, go to File/New/Class
  • 6. Under Source folder browse and find the src for the project you created earlier. When completed the source folder text field should read HelloWorld/src For the class name enter "HelloWorld" Make sure that the "public static void main(string[] args)" checkbox is checked. All other fields may be left as default Click Finish
  • 7. We have now created both the project and class. These steps will have to be completed every time we start a new java program. Once you create a class your .java program should load and look like this. At this time don't worry about what everything means, we will cover that as the class moves forward
  • 8. WRITING THE CODE As you have already learned, Java follows simple syntax when writing program instructions. To write the code for Hello World type the following inside the main method. Click Save
  • 9. UNDERSTANDING THE CODE If we were to break out the line of code we just wrote it would read as follows. Computer (system) output (.out) this line (println) Hello World! ("Hello World!";).
  • 10. RUNNING THE CODE To run your code, click on Run/Run As/Java Application Doing this will load a dialog box where you select your HelloWorld.java file. Click OK You can also click on Run/Run to do the same thing.
  • 11. VIEWING THE CONSOLE By default you should see the output of your .java program below in the console section. If the window is not appearing click on Window/Show View/Console If the code has been added correctly you should see Hello World being outputted.
  • 12. HELLO WORLD OVERVIEW 1.Create a project (HelloWorld) 2.Create a class (HelloWorld) 3.Add code (System.out.println("Hello World!"); 4.Run code (Run/Run As/Java Application) These are the four basic steps to all Java programming. Now Change the Hello World text to say “Your Name” and run the application.
  • 13. NEED MORE HELP? Eclipse comes with its own Hello World tutorial. You can access the tutorial from the Welcome Screen. To get to the Welcome Screen select Help > Welcome from the menu bar. Click the tutorials icon and then select Create a Hello World Application. This tutorial walks you through the entire Hello World application building process.