Home

We can add more than one class(es) at the time of compilation Java Beans.

A. True.

B. False.

You can do it
  1. Which of the following command lines options generates documentation for all classes and methods?
  2. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  3. A constructor must always invoke its supper class constructor in its first statement.
  4. The use of protected keyword to a member in a class will restrict its visibility as follows:
  5. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  6. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  7. With javadoc, which of the following denotes a javadoc comment?
  8. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  9. The import statement is always the first no comment statement in a Java program files.
  10. The setBackground() method is part of the class
  11. putValue(...) method takes _____________________-
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. A final class may not have any abstract method.
  14. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  15. A Java monitor must either extend thread class or implement Runnable interface.
  16. When present, package must be the first no comment statement in the file.
  17. All methods in an abstract class must be declared abstract.
  18. The keywords reserved but not used in the initial version of Java re:
  19. Which of the following keywords are used to control access to a class member?
  20. DataInput is
  21. It is an error to have a method with the same signature in both the super class and its subclass.
  22. Which of the following will produce a value of 10 if x = 9.7?
  23. An EJB is a server-side component that encapsulates the business logic of an application
  24. Which of the following control expressions are valid for an if statement?
  25. Which of the following methods can be used to remove a component from the display?
  26. Which key word can protect a class in package from accessibility by the classes outside the package?
  27. Which exception is thrown by the read() method of InputStream class?
  28. A package is a collection of
  29. executeUpdate automatically updates data because___________
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…