Which of the following represent legal flow control statements?

A. break();

B. continue(inner);

C. return;

D. exit();

You can do it
  1. Which key word can protect a class in package from accessibility by the classes outside the package?
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  4. All methods in an abstract class must be declared abstract.
  5. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  6. Which of the following represent legal flow control statements?
  7. The import statement is always the first no comment statement in a Java program files.
  8. Members of a class specified as private are accessible only to the methods of the class.
  9. In the code below, what data types the variable x can have?
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  12. Submit button always fires doPost(...)
  13. executeUpdate automatically updates data because___________
  14. It is perfectly legal to assign a subclass object to a supper class reference.
  15. A Java monitor must either extend thread class or implement Runnable interface.
  16. Which of the following are not keywords?
  17. Which of the following classes are available in the java.lang package?
  18. A package is a collection of
  19. Which of the following methods can be used to draw the outline of a square?
  20. With javadoc, which of the following denotes a javadoc comment?
  21. When present, package must be the first no comment statement in the file.
  22. A constructor must always invoke its supper class constructor in its first statement.
  23. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  24. Any method in a supper class can be over ridden in its subclass.
  25. A variable declared inside the for loop control can not be referenced out side the loop.
  26. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  29. Which of the following will produce a value of 22 if x=22.9:
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.