cop2551-p1.Fall2005

cop2551-p1.Fall2005 - Be sure to read carefully any error...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Programming Assignment #1, Due 08/31/2005 by Start of Class Log in and Use Editor : Log into your Osprey account and use either vi or Pico (the text editors for this course) to enter and save the following java program. Format the text as I have it formatted with consistent spacing where you see indents and blank lines where I have blank lines. Compile the Program . Compile the program by entering at the $ prompt javac Hello.java . Correct any syntax errors, if any. You will have to bring up pico or vi editors to make changes and save them. Be sure to read carefully any error messages you get when you compile your program. Execute the Program . Then execute your program by entering the program below. Correct any errors by bringing your original program back up in vi or pico and making corrections.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Be sure to read carefully any error messages you get when you execute your program Turnin Facility . Once you have your program completed and successfully executing, turn it in using the turnin facility on osprey. The turnin code for this assignment is broggio.cop2551.p1 /* Your name goes here Date goes here Hello.java. A ‘Hello’ program is a traditional first program in several languages. It is used to familiarize the student with the procedure for using the editor, compiling a simple program, executing that program, and submitting the program for grading. */ public class Hello { public static void main(String args) { System.out.println("Hello world!"); System.out.println("I am learning to program in Java."); } }...
View Full Document

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Ask a homework question - tutors are online