Home

A static class method can be invoked by simply using the name of the method alone.

A. True

B. False

You can do it
  1. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  2. A Java monitor must either extend thread class or implement Runnable interface.
  3. Which of the following statements are true?
  4. The import statement is always the first no comment statement in a Java program files.
  5. Throwing an exception always causes program termination.
  6. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  7. putValue(...) method takes _____________________-
  8. It is perfectly legal to assign a subclass object to a supper class reference.
  9. Which of the following are the wrapper classes?
  10. The use of protected keyword to a member in a class will restrict its visibility as follows:
  11. Which are the valid ways to create DataInputStream streams?
  12. The modulus operator (%) can be used only with Integer operands.
  13. Which of the following represent legal flow control statements?
  14. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. The length of a string object 's1' can be obtained using the expression s1.length.
  17. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  18. Which of the following are keywords?
  19. In RMI before running the client program we must start RMI Registry.
  20. executeUpdate(------------) returns ___________
  21. In a single Servlet class we can use____________
  22. Consider the following class definitions: class maths { student student1; } class student { String name;…
  23. A package is a collection of
  24. Java is fully object oriented programme.
  25. Which of the following methods can be used to change the size of a size() *resize()
  26. Which of the following will produce a value of 22 if x=22.9:
  27. A panel can not be added to another panel.
  28. A class may be both abstract and final.
  29. In RMI we invoke client method from remote server
  30. forName() is a static factory method