Home

What is the correct answer?

4

Which of the following command lines options generates documentation for all classes and methods?

A. -protected

B. -public

C. -private

D. -encoding

Correct Answer :

C. -private


Related Questions

Which of the following methods belong to the String class? A Java monitor must either extend thread class or implement Runnable interface. We can over load methods with differences only in their return type. A method declared as static can not access non-static class members. What is wrong in the following class definitions? abstract class… When the string objects are compared with ==, the result is true If the… One the features of is that an array can store many different types of… It is an error if a class with one or more abstract methods is not explicitly… class.forName(...) creates an instance of java ODBC driver When present, package must be the first no comment statement in the file. When X is a positive number the operations x>> 2 and x>>>2… EJBs can be of the following type(s)None of the above If m and n are int type variables, what will be the result of the expression'm… putValue(...) method takes _____________________- Which javadoc tag is used to denote a comment for methods parameters? Which of the following are keywords? JSP files creates ________________ A package is a collection of What is error in the following class definitions? abstract class… executeUpdate(------------) returns ___________ Java always provides a default constructor to a class. Which of the following statements are true? It is perfectly legal to refer to any instance variable inside of a static… A static class method can be invoked by simply using the name of the method… All the bitwise operators have the same level of precedence in Java. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division… Which of the following will produce a value of 22 if x=22.9: It is an error to have a method with the same signature in both the super… Message-Driven beans act as a listener for the Java Message Service API,… Members of a class specified as private are accessible only to the methods…