Home

The concept of multiple inheritance is implemented in Java by

A. extending two or more classes

B. extending one class and implementing one or more interfaces

C. all the above

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

You can do it
  1. A final class may not have any abstract method.
  2. Submit button always fires doPost(...)
  3. In the code below, what data types the variable x can have?
  4. When present, package must be the first no comment statement in the file.
  5. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  6. It is perfectly legal to assign a subclass object to a supper class reference.
  7. The name of the RMI compiler is ___________
  8. What is java -g used for?
  9. Which of the following statements are true?
  10. Java is fully object oriented programme.
  11. A static class method can be invoked by simply using the name of the method alone.
  12. All the bitwise operators have the same level of precedence in Java.
  13. Which exception is thrown by the read() method of InputStream class?
  14. JSP files creates ________________
  15. A class may be both abstract and final.
  16. The methods wait() and noify() are defined in
  17. The setBackground() method is part of the class
  18. Members of a class specified as private are accessible only to the methods of the class.
  19. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  20. executeUpdate(------------) returns ___________
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. A Java monitor must either extend thread class or implement Runnable interface.
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. When the string objects are compared with ==, the result is true If the strings contain the same values.
  25. Throwing an exception always causes program termination.
  26. The default case is always required in the switch selection structure.
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. class.forName(...) creates an instance of java ODBC driver
  29. Which of the following methods can be used to change the size of a size() *resize()
  30. Every call to wait has a corresponding call to notify that will eventually end the wafting.