PROGRAMMING AND CODE


Assignemnt #6

Code

  /// Name: Justin Li
  /// Period 7
  /// Program Name: Comments and Slashes
  /// File Name: CommentsAndSlashes
  /// Date Finished: 9/8/15
  // It works as expected

    public class CommentsAndSlashes
    {
        public static void main( String[] args )
        {
            // fsafdsafdsafa
            // Anything after the // is ignored by Java.

            System.out.println( "I could have code like DIS." ); // and the comment after is ignored.

            // You can also use WOWWOWOW comment to "disable" or comment out a piece of code:
            // System.out.println("This won't run.");

            System.out.println( "This will rughn dugh gughd huaon." );
        }
    }

    

Picture of the output

Assignment 1