A comment in Java that begins with /** and ends with */ is what kind of comment?

a) block comment
b) javadoc comment
c) line comment
d) nested comment

b.

Computer Science & Information Technology

You might also like to view...

If the following pseudocode was coded and run, what would display, given that rate = 8?

``` Select rate Case 10: Display "A" Case 9: Case 8: Display "B" Case 7: Case 6: Display "C" Default: Display "Rating not possible." End Select ``` a. A b. B c. C d. Rating not possible.

Computer Science & Information Technology

Where can local variables declared within a method’s body be used?

a. Only in that method between the line in which they were declared and the closing brace of that method. b. Same as (a), but not within while or if statements. c. Only within while or if statements within the method in which they were declared. d. Anywhere within the class.

Computer Science & Information Technology