Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Re: Plz.. help me out to understand the java concepts regarding arrays

    No problem. Keep in mind that had you done this instead:


    int [] a; //no declaration!
    System.out.println(java.util.Arrays.toString(a));


    ...you would have received a similar error.
  2. Re: Plz.. help me out to understand the java concepts regarding arrays

    That's just the default value populated in an array- 0 for ints, null for Objects. It's similar to how class variables (not method variables) get a default value, even if you don't explicitly give...
Results 1 to 2 of 2