Multiple Choice Question

Quiz Guidelines

 

QID: 
465
Question: 

What will the following code print? 

int i = 0;
  int j = 1;
  if( (i++ == 0) & (j++ == 2) ){
     i = 12;
  }
  System.out.println(i+" "+j);

Select 1 option

A. 1 2 
B. 2 3
C. 12 2
D. 12 1
E. It will not compile.

Q&A Set: 

Search the Web

Custom Search

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