This assignment is intended to help you get started with Java programming and CS 5JA. Although you are not
required to write any original Java source code, you must carry out some steps that are common to
all programming assignments. These "hurdles" include (1) using an editor to create a file
that contains Java source code; (2) using the Java compiler to translate this source code
to bytecode; (3) launching the Java Virtual Machine to execute this bytecode; and (4) using our
online turnin program to turn in your files.
You may perform these activities on any computer on which the Java Development Kit (JDK), version 5.0 or higher, is installed. Instructions for using the JDK by itself are given below. If you choose to use a program such as netBeans or BlueJ to compile and execute, you must learn how to use such programs on your own. All CS 5JA students are authorized to use the computers in the Instructional Computing labs. The turnin program can be used from any computer with Internet access and a web browser. |
public class Start5JA { public static void main(String args[]) { String name = "YOUR NAME HERE"; System.out.printf("Hi %s. Welcome to Java!%n", name); } }
YOUR NAME HERE
, with your actual name.