Assignemnt #6: Comments and Slashes

Code

      ///Name: Cassie
      ///Period: 6
      ///Program Name: Comments and Slashes
      ///File Name: CommentsandSlashes.java
      ///Date Finished: 9/9/2015 
      ///yes
      
      class CommentsandSlashes {
          
          public static void main( String[] args ) {
          
              // A comment, this is so you canr ead your program later.
              // Anything after the // is ignored by java
              
              System.out.println( "I could have code like this." ); //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 6