Which of the following represent legal flow control statements?

A. break();

B. continue(inner);

C. return;

D. exit();

You can do it
  1. Declarations can appear anywhere in the body of a Java method.
  2. The methods wait() and noify() are defined in
  3. A constructor must always invoke its supper class constructor in its first statement.
  4. Which of the following will produce a value of 22 if x=22.9:
  5. Servlet has ___________
  6. It is perfectly legal to refer to any instance variable inside of a static method.
  7. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  8. Java always provides a default constructor to a class.
  9. When the string objects are compared with ==, the result is true If the strings contain the same values.
  10. A string object can not be modified after it is created.
  11. It is an error to have a method with the same signature in both the super class and its subclass.
  12. A package is a collection of
  13. In RMI before running the client program we must start RMI Registry.
  14. A static class method can be invoked by simply using the name of the method alone.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. Which of the following statements are valid array declarations?
  17. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  18. We can over load methods with differences only in their return type.
  19. The length of a string object 's1' can be obtained using the expression s1.length.
  20. Which of the following will produce a value of 10 if x = 9.7?
  21. In order to connect to a database through java program we must create _______-
  22. Servlet can have ___________
  23. In a single Servlet class we can use____________
  24. Connection, Statement are interfaces and ResultSet is a class.
  25. The programmer must explicitly create the system .in and system .out objects.
  26. The setBackground() method is part of the class
  27. What does the following line of code do?TextField text=new TextField(10);
  28. The import statement is always the first no comment statement in a Java program files.
  29. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  30. Every method of a final in class is implicitly final.