Java Certification Exam essentials: Compiling and running code

This first tutorial uses the game of rock-paper-scissors to hammer home the basic concepts of writing, compiling and running Java code.

Once you've installed the Java Development toolkit (JDK) and configured JAVA_HOME, the next step is to start writing some Java code. In this tutorial, the fourth in a series, we simply focus on creating a single Java class with a runnable main method that prints out the hypothetical result of playing a single game of rock-paper-scissors. There is no input taken from the user and there is no complex business logic. In this first tutorial, the real goal is to get a simple class coded, compiled and running. Once you've accomplished this significant task, you'll be ready to move on to further tutorials that will get iteratively more complicated as your Java programming skills progress.

This was last published in August 2012

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudApplications

SearchSOA

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close