Home

It is perfectly legal to refer to any instance variable inside of a static method.

A. True

B. False

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

You can do it
  1. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  2. Given the codeString s = new String("abc");Which of the following calls are valid?
  3. putValue(...) method takes _____________________-
  4. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  5. Connection, Statement are interfaces and ResultSet is a class.
  6. In the code below, what data types the variable x can have?
  7. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  8. The concept of multiple inheritance is implemented in Java by
  9. The length of a string object 's1' can be obtained using the expression s1.length.
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. Throwing an exception always causes program termination.
  12. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  13. Which of the following are keywords?
  14. Which of the following classes are available in the java.lang package?
  15. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  16. Objects are passed to a method by use of call-by-reference.
  17. An individual array element that is passed to a method and modified in that method will contain the…
  18. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  19. executeUpdate automatically updates data because___________
  20. Servlet has ___________
  21. executeUpdate(------------) returns ___________
  22. EJBs can be of the following type(s)None of the above
  23. Which key word can protect a class in package from accessibility by the classes outside the package?
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. Which are the valid ways to create DataInputStream streams?
  26. Frames and applets cannot be used together in the same program.
  27. When we implement the Runnable interface, we must define the method
  28. In order to connect to a database through java program we must create _______-
  29. It is perfectly legal to refer to any instance variable inside of a static method.
  30. Every call to wait has a corresponding call to notify that will eventually end the wafting.