note the use of comments in this and other examples these comments are annotations provided for human readers and are not processed by java compiler java allows for two kinds of comments-block comments and inline commentswhich define text ignored by the compiler java uses /to begin block comment and *to close it of particular note is comment that begins with /**for such comments have special format that allows program called javadoc to read these comments and automatically generate documentation for java programs we discuss the syntax and interpretation of javadoc comments in section in addition to block commentsjava uses /to begin inline comments and ignores everything else on the line all comments shown in this book will be colored blueso that they are not confused with executable code for example/this is block comment *