Assignment #6 Second CommentsAndSlashes
Code
/// Name: Lacey Reese
/// Period: 5
/// Program Name: CommentsAndSlashes
/// File Name: CommentsAndSlashes.java
/// Date Finished 9/9/2015
// My name is Lacey Reese and its September 9th, 2015
// Does mean a comment! I was righttttttt :))))
public 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 have code like this." ); // and the comment after is ignored.
// You can also use a comment to "disable" or comment out a piece of code:
// System.out.println("This won't run.");
System.out.println( "This will run." );
// Lacey. Don't forget // means a COMMENTT
}
}
Picture of the output