|
Your source code file should follow a specific format and you will e-mail it to me in a specific way. These rules make it easier for me to automate the collecting and compiling of your homework assignments, so it is important that you follow them carefully.
-
Format for your Java files.
- At the very beginning of your source file there should be a comment containing the course number, your name, and the assignment number; an example below shows exactly how you are to format this. After this comment are your import statements. After the import statements is the beginning of the class definition; I want you to follow a very strict rule for naming your class. The name of your Java class should be of the form CS125Ass0Surname (and the name of the file that holds it is CS125Ass0Surname.java). The number between Ass and Surname is the number of the homework assignment. And Surname is of course your last name; if your surname has more than one part, concatenate the parts together so that the class name does not have any spaces in it.
Here is a template of how your .java file should look.
/*
Course: CS 125
Name: Jean Shepherd
Assignment: 0
any other comments that you want to make...
*/
import javax.swing.*;
public class CS125Ass0Shepherd
{
// your code goes here
}//CS125Ass0Shepherd
-
E-mailing your assignments.
- When you are finished with your assignment, e-mail me your source code. Attach the Java source file to your e-mail message. In the body of the e-mail message put your name, the course number, and the assignment number. The subject of the e-mail message should be just the class name of the Java program, e.g., CS125Ass0Surname. (Note: If you want to e-mail me and ask a question, please use a different subject line, like "CS 125 question", so that I can keep the questions separate from the homeworks.)
NOTE: If you are have trouble getting your e-mail client program to make your Java source code file an attachment, use the Purdue Calumet WebMail server to submit your homework. The attachment feature works properly. You will need to know your AXP username and password to use this e-mail program (not your campus network username and password).
|
|