Home

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

A. True

B. False

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

You can do it
  1. An individual array element that is passed to a method and modified in that method will contain the…
  2. With javadoc, which of the following denotes a javadoc comment?
  3. Session bean
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. Servlet can have ___________
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  8. A package is a collection of
  9. Which exception is thrown by the read() method of InputStream class?
  10. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  11. Which javadoc tag is used to denote a comment for methods parameters?
  12. The check box group class is a subclass of the component class.
  13. The concept of multiple inheritance is implemented in Java by
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. To delete a file, we can use an instance of class file.
  16. A class may be both abstract and final.
  17. Which are the valid ways to create DataInputStream streams?
  18. We would like to make a member of a class visible in all subclasses regardless of what package they…
  19. The keywords reserved but not used in the initial version of Java re:
  20. A JSP file can be stored_________________
  21. The import statement is always the first no comment statement in a Java program files.
  22. Declaring a method synchronized guarantees that the deadlock cannot occur.
  23. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  24. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  25. It is perfectly legal to assign a subclass object to a supper class reference.
  26. Which of the following statements are true?
  27. One the features of is that an array can store many different types of values.
  28. A variable declared inside the for loop control can not be referenced out side the loop.
  29. When we implement the Runnable interface, we must define the method
  30. executeUpdate(------------) returns ___________