Home

A constructor must always invoke its supper class constructor in its first statement.

A. True

B. False

You can do it
  1. Members of a class specified as private are accessible only to the methods of the class.
  2. One the features of is that an array can store many different types of values.
  3. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. A panel can not be added to another panel.
  6. All methods in an abstract class must be declared abstract.
  7. The length of a string object 's1' can be obtained using the expression s1.length.
  8. Which of the following methods belong to the String class?
  9. The keywords reserved but not used in the initial version of Java re:
  10. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  11. Which of the following are the wrapper classes?
  12. The default case is always required in the switch selection structure.
  13. Given the codeString s = new String("abc");Which of the following calls are valid?
  14. Which of the following statements are true?
  15. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  16. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  17. Which of the following represent legal flow control statements?
  18. When we invoke repaint () for a Component, the AWT invokes the method:
  19. Give file is a file object, which of the following are legal statements to create a new file.
  20. Any class may be inherited by another class in the same package.
  21. Which of the following will produce a value of 22 if x=22.9:
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. Servlet can have ___________
  24. Which of the following are keywords?
  25. forName() is a static factory method
  26. JdbcOdbcDriver is an object of Object class
  27. Two methods cannot have the same name in Java.
  28. Every method of a final in class is implicitly final.
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. An individual array element that is passed to a method and modified in that method will contain the…