A method declared as static can not access non-static class members.

A. True

B. False

You can do it
  1. Objects are passed to a method by use of call-by-reference.
  2. In a single Servlet class we can use____________
  3. Which of the following control expressions are valid for an if statement?
  4. Declaring a method synchronized guarantees that the deadlock cannot occur.
  5. Given the codeString s = new String("abc");Which of the following calls are valid?
  6. Which javadoc tag is used to denote a comment for methods parameters?
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. Which of the following methods can be used to remove a component from the display?
  9. Submit button always fires doPost(...)
  10. The programmer must explicitly create the system .in and system .out objects.
  11. Any class may be inherited by another class in the same package.
  12. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  13. A JSP file can be stored_________________
  14. Which of the following methods can be used to change the size of a size() *resize()
  15. It is perfectly legal to refer to any instance variable inside of a static method.
  16. A method declared as static can not access non-static class members.
  17. Declarations can appear anywhere in the body of a Java method.
  18. We can over load methods with differences only in their return type.
  19. Which of the following will produce a value of 10 if x = 9.7?
  20. Which of the following represent legal flow control statements?
  21. It is an error to have a method with the same signature in both the super class and its subclass.
  22. In order to connect to a database through java program we must create _______-
  23. EJBs can be of the following type(s)None of the above
  24. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  25. Which of the following statements are valid array declarations?
  26. Servlet can have ___________
  27. To delete a file, we can use an instance of class file.
  28. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  29. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  30. A variable declared inside the for loop control can not be referenced out side the loop.