Home

putValue(...) method takes _____________________-

A. Two arguments of object type

B. First one is of a character type and second one is of an object type

C. First one is of an object type and second one is of a character type

D. None of the above.

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. A final class may not have any abstract method.
  3. A string object can not be modified after it is created.
  4. A Java monitor must either extend thread class or implement Runnable interface.
  5. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  6. Which of the following are keywords?
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Submit button always fires doPost(...)
  9. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  10. When we implement an interface method, it should be declared as public.
  11. In the code below, what data types the variable x can have?
  12. Which of the following control expressions are valid for an if statement?
  13. Which of the following methods can be used to change the size of a size() *resize()
  14. All the bitwise operators have the same level of precedence in Java.
  15. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  16. Which javadoc tag is used to denote a comment for methods parameters?
  17. The name of the RMI compiler is ___________
  18. The default case is always required in the switch selection structure.
  19. A panel can not be added to another panel.
  20. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  21. forName() is a static factory method
  22. Declaring a method synchronized guarantees that the deadlock cannot occur.
  23. Servlet has ___________
  24. The keywords reserved but not used in the initial version of Java re:
  25. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  26. It is an error to have a method with the same signature in both the super class and its subclass.
  27. Consider the following class definitions: class maths { student student1; } class student { String name;…
  28. Session bean
  29. executeUpdate(------------) returns ___________
  30. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.