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

You can do it
  1. In a single Servlet class we can use____________
  2. The concept of multiple inheritance is implemented in Java by
  3. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  6. putValue(...) method takes _____________________-
  7. Throwing an exception always causes program termination.
  8. A package is a collection of
  9. Any method in a supper class can be over ridden in its subclass.
  10. A variable declared inside the for loop control can not be referenced out side the loop.
  11. A final class may not have any abstract method.
  12. EJBs can be of the following type(s)None of the above
  13. It is perfectly legal to refer to any instance variable inside of a static method.
  14. Servlet has ___________
  15. A Java monitor must either extend thread class or implement Runnable interface.
  16. Which of the following will produce a value of 22 if x=22.9:
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  19. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  20. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  21. The check box group class is a subclass of the component class.
  22. The programmer must explicitly create the system .in and system .out objects.
  23. Which of the following represent legal flow control statements?
  24. We can add more than one class(es) at the time of compilation Java Beans.
  25. Consider the following class definitions: class maths { student student1; } class student { String name;…
  26. Declaring a method synchronized guarantees that the deadlock cannot occur.
  27. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  28. A string object can not be modified after it is created.
  29. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  30. Which of the following statements are true?