Comment Styles
Comments are used to clear the logic of the code and to increase the readability if it.
Comments are ignored by the compiler.
Java uses three types of comments:
Single-line comment (//)
Multiple-line comment (/*…*/)
Documentation comment (/**…*/).
Comments are ignored by the compiler.
Java uses three types of comments:
Single-line comment (//)
Multiple-line comment (/*…*/)
Documentation comment (/**…*/).