Home

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

A. //#

B. /*

C. /**

D. //**

You can do it
  1. Declarations can appear anywhere in the body of a Java method.
  2. We would like to make a member of a class visible in all subclasses regardless of what package they…
  3. It is perfectly legal to assign a subclass object to a supper class reference.
  4. Objects are passed to a method by use of call-by-reference.
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. When present, package must be the first no comment statement in the file.
  7. Which of the following will produce a value of 10 if x = 9.7?
  8. What does the following line of code do?TextField text=new TextField(10);
  9. Which of the following statements are valid array declarations?
  10. It is an error to have a method with the same signature in both the super class and its subclass.
  11. Which of the following control expressions are valid for an if statement?
  12. Which of the following statements are true?
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. We can add more than one class(es) at the time of compilation Java Beans.
  15. The modulus operator (%) can be used only with Integer operands.
  16. A method declared as static can not access non-static class members.
  17. Which of the following methods belong to the String class?
  18. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  19. One the features of is that an array can store many different types of values.
  20. The programmer must explicitly create the system .in and system .out objects.
  21. When we implement the Runnable interface, we must define the method
  22. Session bean
  23. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  24. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  25. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  26. When we implement an interface method, it should be declared as public.
  27. JSP files creates ________________
  28. The length of a string object 's1' can be obtained using the expression s1.length.
  29. Two methods cannot have the same name in Java.
  30. Give file is a file object, which of the following are legal statements to create a new file.