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.

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