Home

When we implement an interface method, it should be declared as public.

A. True

B. False

You can do it
  1. JSP files creates ________________
  2. A class may be both abstract and final.
  3. A static class method can be invoked by simply using the name of the method alone.
  4. executeUpdate(------------) returns ___________
  5. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  6. class.forName(...) creates an instance of java ODBC driver
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  9. Which of the following methods can be used to remove a component from the display?
  10. Which of the following represent legal flow control statements?
  11. The programmer must explicitly create the system .in and system .out objects.
  12. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  13. Java always provides a default constructor to a class.
  14. Which of the following statements are true?
  15. Any class may be inherited by another class in the same package.
  16. The concept of multiple inheritance is implemented in Java by
  17. Which of the following statements are true?
  18. When present, package must be the first no comment statement in the file.
  19. Given the codeString s = new String("abc");Which of the following calls are valid?
  20. A catch can have comma-separated multiple arguments.
  21. It is perfectly legal to refer to any instance variable inside of a static method.
  22. EJBs can be of the following type(s)None of the above
  23. Which of the following keywords are used to control access to a class member?
  24. forName() is a static factory method
  25. Which of the following are not keywords?
  26. Which are the valid ways to create DataInputStream streams?
  27. The name of a Java program file must match the name of the class with the extension Java.
  28. Throwing an exception always causes program termination.
  29. The name of the RMI compiler is ___________
  30. Which of the following methods can be used to change the size of a size() *resize()