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

You can do it
  1. Which of the following methods belong to the String class?
  2. Frames and applets cannot be used together in the same program.
  3. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. A string object can not be modified after it is created.
  6. A static class method can be invoked by simply using the name of the method alone.
  7. EJBs can be of the following type(s)None of the above
  8. It is perfectly legal to refer to any instance variable inside of a static method.
  9. The setBackground() method is part of the class
  10. All the bitwise operators have the same level of precedence in Java.
  11. A final class may not have any abstract method.
  12. Throwing an exception always causes program termination.
  13. Consider the following class definitions: class maths { student student1; } class student { String name;…
  14. executeUpdate automatically updates data because___________
  15. Which key word can protect a class in package from accessibility by the classes outside the package?
  16. To delete a file, we can use an instance of class file.
  17. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  18. Which javadoc tag is used to denote a comment for methods parameters?
  19. Which of the following control expressions are valid for an if statement?
  20. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  21. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  22. The methods wait() and noify() are defined in
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. Which of the following keywords are used to control access to a class member?
  25. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  26. class.forName(...) creates an instance of java ODBC driver
  27. All methods in an abstract class must be declared abstract.
  28. What does the following line of code do?TextField text=new TextField(10);
  29. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  30. In the code below, what data types the variable x can have?