false
Exception in
thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
I ran this code thru IDE.My questions are 1) args is not null then what object it has ? 2) basic for loop causes runtime error then why enhanced for loop doesn't ?
at TestArray.main(TestArray.java:11)