Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  2. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  3. Which of the following are keywords?
  4. Members of a class specified as private are accessible only to the methods of the class.
  5. Submit button always fires doPost(...)
  6. We would like to make a member of a class visible in all subclasses regardless of what package they…
  7. All methods in an abstract class must be declared abstract.
  8. Which of the following methods can be used to change the size of a size() *resize()
  9. The length of a string object 's1' can be obtained using the expression s1.length.
  10. putValue(...) method takes _____________________-
  11. In RMI we invoke client method from remote server
  12. Which of the following methods can be used to remove a component from the display?
  13. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  16. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  17. When the string objects are compared with ==, the result is true If the strings contain the same values.
  18. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  19. executeUpdate(------------) returns ___________
  20. In RMI before running the client program we must start RMI Registry.
  21. Servlet can have ___________
  22. It is an error to have a method with the same signature in both the super class and its subclass.
  23. The use of protected keyword to a member in a class will restrict its visibility as follows:
  24. Which exception is thrown by the read() method of InputStream class?
  25. Which of the following will produce a value of 22 if x=22.9:
  26. class.forName(...) creates an instance of java ODBC driver
  27. A class may be both abstract and final.
  28. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  29. Java is fully object oriented programme.
  30. The setBackground() method is part of the class