Home

When we implement the Runnable interface, we must define the method

A. start()

B. init()

C. runnable()

D. run()

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

You can do it
  1. Submit button always fires doPost(...)
  2. In RMI before running the client program we must start RMI Registry.
  3. Java always provides a default constructor to a class.
  4. The use of protected keyword to a member in a class will restrict its visibility as follows:
  5. The break statement is required in the default case of a switch selection structure.
  6. The name of a Java program file must match the name of the class with the extension Java.
  7. The import statement is always the first no comment statement in a Java program files.
  8. Which are the valid ways to create DataInputStream streams?
  9. Session bean
  10. Declarations can appear anywhere in the body of a Java method.
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  13. Which of the following are the wrapper classes?
  14. It is perfectly legal to assign a subclass object to a supper class reference.
  15. The check box group class is a subclass of the component class.
  16. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  17. Frames and applets cannot be used together in the same program.
  18. Which of the following methods can be used to draw the outline of a square?
  19. Every method of a final in class is implicitly final.
  20. The concept of multiple inheritance is implemented in Java by
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. Which of the following are not keywords?
  23. One the features of is that an array can store many different types of values.
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. Which of the following statements are true?
  26. EJBs can be of the following type(s)None of the above
  27. Which of the following methods can be used to change the size of a size() *resize()
  28. A Java monitor must either extend thread class or implement Runnable interface.
  29. Servlet can have ___________
  30. An EJB is a server-side component that encapsulates the business logic of an application