Using Array and not ArrayList. User has to write the exact number of data that is provided by the array. – Artificial Intelligence
Using Array and not ArrayList. User has to write the exact number of data that is provided by the array. The error that I get is NullPointerException, For example, if my array Dinfo and array Linfo has 1, i only…