Home

All methods in an abstract class must be declared abstract.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  2. The programmer must explicitly create the system .in and system .out objects.
  3. The name of a Java program file must match the name of the class with the extension Java.
  4. Throwing an exception always causes program termination.
  5. putValue(...) method takes _____________________-
  6. The setBackground() method is part of the class
  7. Which of the following control expressions are valid for an if statement?
  8. Members of a class specified as private are accessible only to the methods of the class.
  9. Declaring a method synchronized guarantees that the deadlock cannot occur.
  10. An individual array element that is passed to a method and modified in that method will contain the…
  11. When present, package must be the first no comment statement in the file.
  12. A method declared as static can not access non-static class members.
  13. Which of the following statements are true?
  14. Give file is a file object, which of the following are legal statements to create a new file.
  15. The keywords reserved but not used in the initial version of Java re:
  16. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  17. Servlet can have ___________
  18. Every method of a final in class is implicitly final.
  19. Which of the following methods belong to the String class?
  20. We would like to make a member of a class visible in all subclasses regardless of what package they…
  21. All methods in an abstract class must be declared abstract.
  22. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  23. Which of the following are not keywords?
  24. In RMI we invoke client method from remote server
  25. It is perfectly legal to assign a subclass object to a supper class reference.
  26. In RMI before running the client program we must start RMI Registry.
  27. A JSP file can be stored_________________
  28. A class may be both abstract and final.
  29. It is perfectly legal to refer to any instance variable inside of a static method.
  30. When we implement an interface method, it should be declared as public.