Leave a Reply 4

Your email address will not be published. Required fields are marked *


pojo

pojo

int arr[]= null;;
for(int ii:arr){
System.out.println(ii);
}
==> Exception in thread “main” java.lang.NullPointerException ??==> C is correct

Vinh Truong

Vinh Truong

Yes, it must be C

Yolanda

Yolanda

The correct answer is a
You can use netbeans or another program to run the code!