Home

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

A. //#

B. /*

C. /**

D. //**

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. In the code below, what data types the variable x can have?
  3. A JSP file can be stored_________________
  4. In order to connect to a database through java program we must create _______-
  5. Which of the following are keywords?
  6. The break statement is required in the default case of a switch selection structure.
  7. Submit button always fires doPost(...)
  8. Servlet has ___________
  9. All the bitwise operators have the same level of precedence in Java.
  10. Which of the following are not keywords?
  11. Which key word can protect a class in package from accessibility by the classes outside the package?
  12. The import statement is always the first no comment statement in a Java program files.
  13. In a single Servlet class we can use____________
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  16. EJBs can be of the following type(s)None of the above
  17. class.forName(...) creates an instance of java ODBC driver
  18. Which of the following represent legal flow control statements?
  19. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  20. What does the following line of code do?TextField text=new TextField(10);
  21. In RMI before running the client program we must start RMI Registry.
  22. JSP files creates ________________
  23. Two methods cannot have the same name in Java.
  24. A method declared as static can not access non-static class members.
  25. Throwing an exception always causes program termination.
  26. Any class may be inherited by another class in the same package.
  27. Give file is a file object, which of the following are legal statements to create a new file.
  28. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  29. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  30. A string object can not be modified after it is created.