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. The concept of multiple inheritance is implemented in Java by
  2. With javadoc, which of the following denotes a javadoc comment?
  3. Which of the following represent legal flow control statements?
  4. All methods in an abstract class must be declared abstract.
  5. A string object can not be modified after it is created.
  6. The name of the RMI compiler is ___________
  7. A method declared as static can not access non-static class members.
  8. Objects are passed to a method by use of call-by-reference.
  9. A class may be both abstract and final.
  10. Which of the following methods can be used to remove a component from the display?
  11. The programmer must explicitly create the system .in and system .out objects.
  12. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  13. A static class method can be invoked by simply using the name of the method alone.
  14. A final class may not have any abstract method.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. Given the codeString s = new String("abc");Which of the following calls are valid?
  17. A package is a collection of
  18. Which of the following are keywords?
  19. Servlet can have ___________
  20. JdbcOdbcDriver is an object of Object class
  21. The import statement is always the first no comment statement in a Java program files.
  22. To delete a file, we can use an instance of class file.
  23. In a single Servlet class we can use____________
  24. Which exception is thrown by the read() method of InputStream class?
  25. The break statement is required in the default case of a switch selection structure.
  26. Which are the valid ways to create DataInputStream streams?
  27. Session bean
  28. We can over load methods with differences only in their return type.
  29. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  30. The default case is always required in the switch selection structure.