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

A. True

B. False

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

You can do it
  1. Which are the valid ways to create DataInputStream streams?
  2. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  3. The methods wait() and noify() are defined in
  4. The check box group class is a subclass of the component class.
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  7. Which of the following are not keywords?
  8. The name of the RMI compiler is ___________
  9. Which of the following are keywords?
  10. A package is a collection of
  11. A method declared as static can not access non-static class members.
  12. The use of protected keyword to a member in a class will restrict its visibility as follows:
  13. JdbcOdbcDriver is an object of Object class
  14. An EJB is a server-side component that encapsulates the business logic of an application
  15. Which of the following methods can be used to change the size of a size() *resize()
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. Two methods cannot have the same name in Java.
  18. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  19. We would like to make a member of a class visible in all subclasses regardless of what package they…
  20. executeUpdate(------------) returns ___________
  21. An individual array element that is passed to a method and modified in that method will contain the…
  22. In order to connect to a database through java program we must create _______-
  23. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  24. A catch can have comma-separated multiple arguments.
  25. Which of the following command lines options generates documentation for all classes and methods?
  26. Given the codeString s = new String("abc");Which of the following calls are valid?
  27. Java always provides a default constructor to a class.
  28. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  29. The break statement is required in the default case of a switch selection structure.
  30. Which key word can protect a class in package from accessibility by the classes outside the package?