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

A. True

B. False

You can do it
  1. An EJB is a server-side component that encapsulates the business logic of an application
  2. In RMI we invoke client method from remote server
  3. A catch can have comma-separated multiple arguments.
  4. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  5. When we implement the Runnable interface, we must define the method
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. In the code below, what data types the variable x can have?
  8. Any method in a supper class can be over ridden in its subclass.
  9. When present, package must be the first no comment statement in the file.
  10. The keywords reserved but not used in the initial version of Java re:
  11. Session bean
  12. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  13. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  14. Which of the following statements are valid array declarations?
  15. Which of the following statements are true?
  16. Which of the following will produce a value of 10 if x = 9.7?
  17. A variable declared inside the for loop control can not be referenced out side the loop.
  18. Frames and applets cannot be used together in the same program.
  19. One the features of is that an array can store many different types of values.
  20. The default case is always required in the switch selection structure.
  21. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  22. Which javadoc tag is used to denote a comment for methods parameters?
  23. JdbcOdbcDriver is an object of Object class
  24. In RMI before running the client program we must start RMI Registry.
  25. Submit button always fires doPost(...)
  26. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  27. Servlet has ___________
  28. Which of the following command lines options generates documentation for all classes and methods?
  29. Which exception is thrown by the read() method of InputStream class?
  30. Two methods cannot have the same name in Java.