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. The check box group class is a subclass of the component class.
  2. Any class may be inherited by another class in the same package.
  3. Servlet can have ___________
  4. The keywords reserved but not used in the initial version of Java re:
  5. The programmer must explicitly create the system .in and system .out objects.
  6. The default case is always required in the switch selection structure.
  7. Objects are passed to a method by use of call-by-reference.
  8. With javadoc, which of the following denotes a javadoc comment?
  9. When we implement an interface method, it should be declared as public.
  10. Which of the following represent legal flow control statements?
  11. It is perfectly legal to assign a subclass object to a supper class reference.
  12. Java always provides a default constructor to a class.
  13. Given the codeString s = new String("abc");Which of the following calls are valid?
  14. All methods in an abstract class must be declared abstract.
  15. Java is fully object oriented programme.
  16. DataInput is
  17. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  18. Which key word can protect a class in package from accessibility by the classes outside the package?
  19. EJBs can be of the following type(s)None of the above
  20. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  21. executeUpdate automatically updates data because___________
  22. A string object can not be modified after it is created.
  23. Which of the following methods can be used to draw the outline of a square?
  24. Declaring a method synchronized guarantees that the deadlock cannot occur.
  25. Which of the following represent legal flow control statements?
  26. Which exception is thrown by the read() method of InputStream class?
  27. Which of the following classes are available in the java.lang package?
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. Frames and applets cannot be used together in the same program.
  30. Every method of a final in class is implicitly final.