Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. The modulus operator (%) can be used only with Integer operands.
  2. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  3. The name of a Java program file must match the name of the class with the extension Java.
  4. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  5. In order to connect to a database through java program we must create _______-
  6. Which are the valid ways to create DataInputStream streams?
  7. A string object can not be modified after it is created.
  8. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  9. In a single Servlet class we can use____________
  10. Session bean
  11. We can over load methods with differences only in their return type.
  12. When we implement the Runnable interface, we must define the method
  13. Which key word can protect a class in package from accessibility by the classes outside the package?
  14. The length of a string object 's1' can be obtained using the expression s1.length.
  15. Give file is a file object, which of the following are legal statements to create a new file.
  16. Declaring a method synchronized guarantees that the deadlock cannot occur.
  17. Frames and applets cannot be used together in the same program.
  18. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  19. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  20. An EJB is a server-side component that encapsulates the business logic of an application
  21. A static class method can be invoked by simply using the name of the method alone.
  22. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  23. Which of the following methods can be used to remove a component from the display?
  24. executeUpdate(------------) returns ___________
  25. Declarations can appear anywhere in the body of a Java method.
  26. class.forName(...) creates an instance of java ODBC driver
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. In RMI before running the client program we must start RMI Registry.
  29. A constructor must always invoke its supper class constructor in its first statement.
  30. Servlet can have ___________