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. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  3. The keywords reserved but not used in the initial version of Java re:
  4. Which of the following methods can be used to remove a component from the display?
  5. Which are the valid ways to create DataInputStream streams?
  6. We can add more than one class(es) at the time of compilation Java Beans.
  7. A string object can not be modified after it is created.
  8. What does the following line of code do?TextField text=new TextField(10);
  9. Declarations can appear anywhere in the body of a Java method.
  10. The break statement is required in the default case of a switch selection structure.
  11. The setBackground() method is part of the class
  12. A static class method can be invoked by simply using the name of the method alone.
  13. Any method in a supper class can be over ridden in its subclass.
  14. Which of the following statements are true?
  15. When we invoke repaint () for a Component, the AWT invokes the method:
  16. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  17. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  18. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. Which of the following statements are valid array declarations?
  21. In a single Servlet class we can use____________
  22. Submit button always fires doPost(...)
  23. Which of the following will produce a value of 10 if x = 9.7?
  24. Which of the following classes are available in the java.lang package?
  25. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  26. JSP files creates ________________
  27. The concept of multiple inheritance is implemented in Java by
  28. It is perfectly legal to refer to any instance variable inside of a static method.
  29. Declaring a method synchronized guarantees that the deadlock cannot occur.
  30. A JSP file can be stored_________________