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.

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

You can do it
  1. A Java monitor must either extend thread class or implement Runnable interface.
  2. What does the following line of code do?TextField text=new TextField(10);
  3. With javadoc, which of the following denotes a javadoc comment?
  4. The default case is always required in the switch selection structure.
  5. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  6. Consider the following class definitions: class maths { student student1; } class student { String name;…
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. Servlet can have ___________
  9. To delete a file, we can use an instance of class file.
  10. The keywords reserved but not used in the initial version of Java re:
  11. When present, package must be the first no comment statement in the file.
  12. Members of a class specified as private are accessible only to the methods of the class.
  13. Which of the following represent legal flow control statements?
  14. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  15. Which of the following statements are valid array declarations?
  16. Which of the following control expressions are valid for an if statement?
  17. Which of the following methods can be used to remove a component from the display?
  18. The modulus operator (%) can be used only with Integer operands.
  19. When we implement an interface method, it should be declared as public.
  20. The methods wait() and noify() are defined in
  21. A string object can not be modified after it is created.
  22. We would like to make a member of a class visible in all subclasses regardless of what package they…
  23. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  24. Declarations can appear anywhere in the body of a Java method.
  25. Throwing an exception always causes program termination.
  26. It is perfectly legal to assign a subclass object to a supper class reference.
  27. Every method of a final in class is implicitly final.
  28. Which of the following keywords are used to control access to a class member?
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. A panel can not be added to another panel.