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. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  2. A panel can not be added to another panel.
  3. One the features of is that an array can store many different types of values.
  4. executeUpdate automatically updates data because___________
  5. When we implement the Runnable interface, we must define the method
  6. The length of a string object 's1' can be obtained using the expression s1.length.
  7. In RMI we invoke client method from remote server
  8. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  9. Which of the following methods can be used to draw the outline of a square?
  10. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  11. JdbcOdbcDriver is an object of Object class
  12. What does the following line of code do?TextField text=new TextField(10);
  13. An EJB is a server-side component that encapsulates the business logic of an application
  14. The keywords reserved but not used in the initial version of Java re:
  15. A method declared as static can not access non-static class members.
  16. Servlet can have ___________
  17. The check box group class is a subclass of the component class.
  18. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  19. A catch can have comma-separated multiple arguments.
  20. When we implement an interface method, it should be declared as public.
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  23. Which of the following statements are valid array declarations?
  24. Any method in a supper class can be over ridden in its subclass.
  25. A constructor must always invoke its supper class constructor in its first statement.
  26. In order to connect to a database through java program we must create _______-
  27. Objects are passed to a method by use of call-by-reference.
  28. Every method of a final in class is implicitly final.
  29. With javadoc, which of the following denotes a javadoc comment?
  30. Which javadoc tag is used to denote a comment for methods parameters?