Assignemnt #3

Code

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