Assignemnt #6 Comments And Slashes

Code

    /// Name: DeeJay Cerezo
/// Period: 7
/// Program Name: Comments And Slashes
/// File Name: CommentsAndSlashes.java
/// Date Finished: 9/9/2015

// DeeJay Cerezo 9/9/15
// I knew what the two slashes would do but I didn't know what context they would be used

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." );
    }
}
    

Picture of the output

Assignment 3