Assignemnt #6, Comments and Slashes

Code

    ///Name:Jacob Gencarelle
    ///Period:5
    ///Date finished:
    ///Project Name:ThirdProgram:Comments and Slashes
    ///File Name:ThirdProg.java

    //Jacob Gencarelle: August 9th 2015
    //I was correct about what the "//" signify, they signify comments, or unnecessary code.
    public class ThirdProg
{
    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

Other programs are located here

table