A class may be both abstract and final.

A. True

B. False

You can do it
  1. A package is a collection of
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. The name of the RMI compiler is ___________
  4. When present, package must be the first no comment statement in the file.
  5. Which of the following keywords are used to control access to a class member?
  6. Which exception is thrown by the read() method of InputStream class?
  7. In the code below, what data types the variable x can have?
  8. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  9. Which of the following methods can be used to draw the outline of a square?
  10. JSP files creates ________________
  11. Declarations can appear anywhere in the body of a Java method.
  12. With javadoc, which of the following denotes a javadoc comment?
  13. Which of the following are not keywords?
  14. The concept of multiple inheritance is implemented in Java by
  15. A final class may not have any abstract method.
  16. Which of the following statements are valid array declarations?
  17. The check box group class is a subclass of the component class.
  18. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  19. When we implement an interface method, it should be declared as public.
  20. Given the codeString s = new String("abc");Which of the following calls are valid?
  21. Servlet has ___________
  22. Java always provides a default constructor to a class.
  23. A method declared as static can not access non-static class members.
  24. Throwing an exception always causes program termination.
  25. To delete a file, we can use an instance of class file.
  26. It is perfectly legal to assign a subclass object to a supper class reference.
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. When we implement the Runnable interface, we must define the method
  29. Which of the following statements are true?
  30. One the features of is that an array can store many different types of values.