Home

What is the correct answer?

4

Which of the following represent legal flow control statements?

A. break();

B. continue(inner);

C. return;

D. exit();

Correct Answer :

C. return;


Related Questions

The break statement is required in the default case of a switch selection… In a single Servlet class we can use____________ For all insert, update, delete, query operations on a database, ResultSet… It is an error to catch the same type of exception in two different catch… Which of the following command lines options generates documentation for… Which of the following represent legal flow control statements? In evaluating a logical expression of type 'Boolean expression 1&& Boolean… Which exception is thrown by the read() method of InputStream class? The name of the RMI compiler is ___________ If you want to assign a value of 99 to the variable year, then which of… executeUpdate(------------) returns ___________ It is perfectly legal to assign a subclass object to a supper class reference. Which of the following are keywords? A static class method can be invoked by simply using the name of the method… Java always provides a default constructor to a class. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division… Which of the following control expressions are valid for an if statement? A package is a collection of forName() is a static factory method An EJB is a server-side component that encapsulates the business logic… Any method in a supper class can be over ridden in its subclass. Which of the following statements are valid array declarations? Throwing an exception always causes program termination. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… Which of the following string can be used as mode string for creating… Servlet can have ___________ Which of the following statements are true? The default case is always required in the switch selection structure. Given the codeString s = new String("abc");Which of the following calls… Message-Driven beans act as a listener for the Java Message Service API,…