Home

Which of the following represent legal flow control statements?

A. break;

B. break();

C. continue(inner);

D. all of the above

You can do it
  1. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  2. The length of a string object 's1' can be obtained using the expression s1.length.
  3. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  4. The setBackground() method is part of the class
  5. The keywords reserved but not used in the initial version of Java re:
  6. Which of the following are keywords?
  7. The programmer must explicitly create the system .in and system .out objects.
  8. Which javadoc tag is used to denote a comment for methods parameters?
  9. Which of the following will produce a value of 10 if x = 9.7?
  10. executeUpdate(------------) returns ___________
  11. A final class may not have any abstract method.
  12. An EJB is a server-side component that encapsulates the business logic of an application
  13. Java is fully object oriented programme.
  14. Which of the following represent legal flow control statements?
  15. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  16. Which of the following control expressions are valid for an if statement?
  17. Which of the following represent legal flow control statements?
  18. executeUpdate automatically updates data because___________
  19. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  20. Session bean
  21. The use of protected keyword to a member in a class will restrict its visibility as follows:
  22. Any method in a supper class can be over ridden in its subclass.
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. We can over load methods with differences only in their return type.
  25. All methods in an abstract class must be declared abstract.
  26. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  27. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  28. Throwing an exception always causes program termination.
  29. When present, package must be the first no comment statement in the file.
  30. Which of the following command lines options generates documentation for all classes and methods?