True or False

Quiz Guidelines

 

QID: 
25
Tags: 
Question: 
class Test{

public static int[ ] getArray() { return null; }

public static void main(String[] args){

int index = 1;

try{

getArray()[index=2]++;

}

catch (Exception e){ } //empty catch

System.out.println("index = " + index);

}

}

 

Select 1 option

A. True

B. False

Q&A Set: