Assignemnt #6 and Third Program
Code
/// Name: Connor Siri
/// Period: 7
/// Program Name: Comments and Slashes
/// File Name: CommentsAndSlashes.java
/// Date Finished: 9/8/2015
// I was right about what the ('//') signify
class CommentsAndSlashes {
public static void main(String[] args) {
// A comment, this is so you can read your program later.
//Anything after the // is ignored by Java.
System.out.println( "I could code like this."); // and the comment is ignored
System.out.println( "This will run." );
}
}
Picture of the output