Assignemnt #6 and Third Assignment


    ///Name: Daniel Rhees
    ///Period: 5
    ///Project Name: Comments And Slashes
    ///File Name:
    ///Date: 9/4/2015
    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 is ignored.
            // You can also use a comment to "disable" or comment out a piece of code:
            // System.out.println( "This wont run" );
            System.out.println( "This will run." );

Picture of the output

Assignment 6