Please enable JavaScript to use CodeHS

AP CSA: MOD-2.C.2

CodeHS Lessons

Three types of comments in Java include /* */, which generates a block of comments, //, which generates a comment on one line, and /** */, which are Javadoc comments and are used to create API documentation.

1.7 Commenting Your Code
11.3 Documentation with Comments
1.7 Commenting Your Code
11.3 Documentation with Comments
5.3 Documentation with Comments
3.7 Commenting Your Code
5.4 Javadocs and More Methods
1.7 Commenting Your Code
3.4 Javadocs and More Methods