Home

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

A. True

B. False

You can do it
  1. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  2. Any method in a supper class can be over ridden in its subclass.
  3. In RMI we invoke client method from remote server
  4. A panel can not be added to another panel.
  5. A class may be both abstract and final.
  6. When present, package must be the first no comment statement in the file.
  7. Declarations can appear anywhere in the body of a Java method.
  8. Which of the following statements are true?
  9. Which of the following control expressions are valid for an if statement?
  10. A variable declared inside the for loop control can not be referenced out side the loop.
  11. Which of the following represent legal flow control statements?
  12. forName() is a static factory method
  13. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  14. Which key word can protect a class in package from accessibility by the classes outside the package?
  15. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  16. One the features of is that an array can store many different types of values.
  17. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  18. When we implement an interface method, it should be declared as public.
  19. When the string objects are compared with ==, the result is true If the strings contain the same values.
  20. Which of the following are keywords?
  21. Which of the following represent legal flow control statements?
  22. executeUpdate automatically updates data because___________
  23. Which of the following methods can be used to draw the outline of a square?
  24. Every method of a final in class is implicitly final.
  25. Servlet has ___________
  26. EJBs can be of the following type(s)None of the above
  27. All the bitwise operators have the same level of precedence in Java.
  28. Which of the following are the wrapper classes?
  29. When we invoke repaint () for a Component, the AWT invokes the method:
  30. We would like to make a member of a class visible in all subclasses regardless of what package they…