how to put comments for a method java code example Example: comment in java //This is single line comment /* This is multi line comment */