Understanding How Java Programs Work
Create a Java program, send arguments to a program, and make use of existing programs in the Java Class Library.
Save 35% off the list price* of the related book or multi-format eBook (EPUB + MOBI + PDF) with discount code ARTICLE.
* See informit.com/terms
This Hour’s To-Do List:
Learn how applications work.
Send arguments to an application.
Learn how Java programs are organized.
Use the Java Class Library.
Try Java 9’s new JShell tool.
Create an object in an application.
An important distinction to make in Java programming is where your program is supposed to be running. Some programs are intended to work on your computer. Other programs are intended to run on a phone or tablet.
Java programs that run locally on your own computer are called applications, programs that are run by web servers are called servlets, and programs that run on mobile devices are called apps.
During this hour, you will create an application and run it on your computer.