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
  1. Which of the following statements are true?
  2. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  3. A package is a collection of
  4. The concept of multiple inheritance is implemented in Java by
  5. When we implement an interface method, it should be declared as public.
  6. Two methods cannot have the same name in Java.
  7. The break statement is required in the default case of a switch selection structure.
  8. A catch can have comma-separated multiple arguments.
  9. When we invoke repaint () for a Component, the AWT invokes the method:
  10. One the features of is that an array can store many different types of values.
  11. Which of the following methods can be used to draw the outline of a square?
  12. Which are the valid ways to create DataInputStream streams?
  13. Session bean
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. With javadoc, which of the following denotes a javadoc comment?
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. EJBs can be of the following type(s)None of the above
  18. Which of the following will produce a value of 10 if x = 9.7?
  19. forName() is a static factory method
  20. Which of the following control expressions are valid for an if statement?
  21. Which of the following are keywords?
  22. Which of the following methods can be used to remove a component from the display?
  23. A class may be both abstract and final.
  24. executeUpdate(------------) returns ___________
  25. Which of the following classes are available in the java.lang package?
  26. A string object can not be modified after it is created.
  27. What does the following line of code do?TextField text=new TextField(10);
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. Which of the following statements are valid array declarations?
  30. We can add more than one class(es) at the time of compilation Java Beans.