Home

Which of the following statements are true?

A. An abstract class may not have any final methods?

B. A final class may not have any abstracts methods.

C. Transient variables must be static.

D. all of the above

You can do it yup
  1. Submit button always fires doPost(...)
  2. The keywords reserved but not used in the initial version of Java re:
  3. A JSP file can be stored_________________
  4. executeUpdate automatically updates data because___________
  5. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  6. A final class may not have any abstract method.
  7. Two methods cannot have the same name in Java.
  8. A static class method can be invoked by simply using the name of the method alone.
  9. To delete a file, we can use an instance of class file.
  10. Every method of a final in class is implicitly final.
  11. In the code below, what data types the variable x can have?
  12. executeUpdate(------------) returns ___________
  13. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  14. When we implement an interface method, it should be declared as public.
  15. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  16. Members of a class specified as private are accessible only to the methods of the class.
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. We can add more than one class(es) at the time of compilation Java Beans.
  19. In order to connect to a database through java program we must create _______-
  20. Which of the following statements are true?
  21. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  22. The check box group class is a subclass of the component class.
  23. The setBackground() method is part of the class
  24. Which of the following methods can be used to remove a component from the display?
  25. We can over load methods with differences only in their return type.
  26. The name of a Java program file must match the name of the class with the extension Java.
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. It is perfectly legal to assign a subclass object to a supper class reference.
  29. Which of the following statements are true?
  30. Java always provides a default constructor to a class.