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. Which of the following statements are true?
  2. In RMI before running the client program we must start RMI Registry.
  3. A string object can not be modified after it is created.
  4. Which javadoc tag is used to denote a comment for methods parameters?
  5. One the features of is that an array can store many different types of values.
  6. An EJB is a server-side component that encapsulates the business logic of an application
  7. When we invoke repaint () for a Component, the AWT invokes the method:
  8. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  9. JdbcOdbcDriver is an object of Object class
  10. To delete a file, we can use an instance of class file.
  11. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  12. Given the codeString s = new String("abc");Which of the following calls are valid?
  13. Throwing an exception always causes program termination.
  14. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  15. JSP files creates ________________
  16. When present, package must be the first no comment statement in the file.
  17. Connection, Statement are interfaces and ResultSet is a class.
  18. It is an error to have a method with the same signature in both the super class and its subclass.
  19. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  20. Any method in a supper class can be over ridden in its subclass.
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. What does the following line of code do?TextField text=new TextField(10);
  23. A constructor must always invoke its supper class constructor in its first statement.
  24. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  25. Which of the following keywords are used to control access to a class member?
  26. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  27. The setBackground() method is part of the class
  28. Two methods cannot have the same name in Java.
  29. The modulus operator (%) can be used only with Integer operands.
  30. executeUpdate(------------) returns ___________