Home

With javadoc, which of the following denotes a javadoc comment?

A. //#

B. /*

C. /**

D. //**

You can do it
  1. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  2. Objects are passed to a method by use of call-by-reference.
  3. Which of the following command lines options generates documentation for all classes and methods?
  4. The keywords reserved but not used in the initial version of Java re:
  5. Servlet has ___________
  6. Given the codeString s = new String("abc");Which of the following calls are valid?
  7. Which of the following methods can be used to remove a component from the display?
  8. The setBackground() method is part of the class
  9. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  10. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  11. A Java monitor must either extend thread class or implement Runnable interface.
  12. Which of the following are the wrapper classes?
  13. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  14. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  15. Which of the following will produce a value of 10 if x = 9.7?
  16. What is java -g used for?
  17. Which of the following keywords are used to control access to a class member?
  18. DataInput is
  19. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  20. Every method of a final in class is implicitly final.
  21. When we implement an interface method, it should be declared as public.
  22. When we implement the Runnable interface, we must define the method
  23. To delete a file, we can use an instance of class file.
  24. Java always provides a default constructor to a class.
  25. The concept of multiple inheritance is implemented in Java by
  26. The break statement is required in the default case of a switch selection structure.
  27. The length of a string object 's1' can be obtained using the expression s1.length.
  28. The use of protected keyword to a member in a class will restrict its visibility as follows:
  29. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  30. Which of the following classes are available in the java.lang package?