Chapter 3
Running Programs
IN THIS CHAPTER
Running a program
Editing your own Java code
A grand tour of the IntelliJ window
If you’re a programming newbie, for you, running a program probably means clicking a mouse. You want to run Microsoft Word, so you double-click the Microsoft Word icon. That’s all there is to it.
When you create your own programs, the situation is a bit different. With a new program, the programmer (or someone from the programmer’s company) creates the program's icon. Before that process, a perfectly good program may not even have an icon. So, what do you do with a brand-new Java program? How do you get the program to run? This chapter tells you what you need to know.
Running a Canned Java Program
The best way to get to know Java is to do Java. When you’re doing Java, you’re writing, testing, and running your own Java programs. This section prepares you by describing how to run and test a program. Rather than write your own program, you run a program that I’ve already written for you.
Getting the code
To get a copy of all the programs that I've written for you, follow these steps:
Visit this book's website:
http://beginprog.allmycode.com
.I'm a world ...
Get Beginning Programming with Java For Dummies, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.