Home

Submit button always fires doPost(...)

A. True

B. False

You can do it
  1. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  2. The name of a Java program file must match the name of the class with the extension Java.
  3. Any class may be inherited by another class in the same package.
  4. It is an error to have a method with the same signature in both the super class and its subclass.
  5. The default case is always required in the switch selection structure.
  6. forName() is a static factory method
  7. Which of the following will produce a value of 22 if x=22.9:
  8. The programmer must explicitly create the system .in and system .out objects.
  9. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  10. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  11. Given the codeString s = new String("abc");Which of the following calls are valid?
  12. A method declared as static can not access non-static class members.
  13. A panel can not be added to another panel.
  14. Which of the following methods can be used to draw the outline of a square?
  15. EJBs can be of the following type(s)None of the above
  16. putValue(...) method takes _____________________-
  17. Servlet has ___________
  18. A package is a collection of
  19. executeUpdate(------------) returns ___________
  20. Java always provides a default constructor to a class.
  21. executeUpdate automatically updates data because___________
  22. In RMI we invoke client method from remote server
  23. Which of the following statements are true?
  24. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  25. One the features of is that an array can store many different types of values.
  26. class.forName(...) creates an instance of java ODBC driver
  27. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  28. Which of the following represent legal flow control statements?
  29. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  30. A class may be both abstract and final.