Multiple Choice Question

Quiz Guidelines

 

QID: 
474
Question: 

Given the following code fragment, which of the following lines would be a part of the output?

outer:
   for ( int i = 0 ; i<3 ; i++ ){
      for ( int j = 0 ; j<2 ; j++ ){
         if ( i == j ){
            continue outer;
         }
         System.out.println( "i=" + i + " , j=" + j );
      }
   }

Select 2 options

A. i = 1, j = 0
B. i = 0, j = 1
C. i = 1, j = 2 
D. i = 2, j = 1
E. i = 2, j = 2

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!