Assignment #6
Comments and Slashes
/// Name: Mutsu Osoegawa
/// Period: 7
/// Project Name: Comments and Slashes
/// File Name: assignment6
/// Date Finished: 9/9/2015
//Mutsu Osoegawa 9/9/2015
//yes
public class CommentsAndSlashes
{
public static void main( String[] args )
{
//A comment, this is so you can read your program later.
//Anything after the // is ingnored by java.
System.out.println( "I could hava a 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." );
}
}