16. Where must you code the javadoc comment for a method? (a)Immediately before
ID: 3768909 • Letter: 1
Question
16. Where must you code the javadoc comment for a method?
(a)Immediately before the method
(b)Before any statements in the method
(c)After any statements in the method
(d)Anywhere within the method
17. In what type of file is javadoc documentation stored? (a)class file
(b)html file (c)java file (d)txt file
18. How many public classes can exist in a file?
(a)0
(b)1
(c)no limit
19. To make a package available to any class that needs to use it, you can create a ______ file that contains the subdirectories and files of the package.
20.You can use _______ within a javadoc comment to apply formatting to the text when it’s displayed.
21. To include special entries in javadoc documentation, you use ________.
22. To view javadoc documentation, you use a ________.
23. A class that’s nested within a method is called a __________ class.
24. When you nest one class within another class, the __________ must have the same name as the file that contains it.
25. Enumerations are _______ which means that you can’t specify another type in place of an enumeration type.
Explanation / Answer
16)a)Immediately before the method.
17) c)java file
18)b)1
19)jar file
20)javadoc tags
21)we must also use @sign inside comments
22)rightclick->"preview javadoc"->ok
23) method local inner class,
24)
25)user defined type
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.