Assignment #6 and Comments and Slashes

Code

    ///Name: Trent Lane
    ///Period: 6
    ///Program Name: Comments and Slashes
    ///Date Finished: 9/5/15

    public class CommentsAndSlashes
{
    public static void main( String[] args )
    {   
        // A comment, this is so you can read your program later.
        // Anything after nthe // is ignored by Java.
        
        System.out.println( "I could have a code like this." ); // and a 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 6