>What i want to ask are :
>-how to SET that value into the array(FROM CONSOLE)?
>
>
First, try to get an object of the value from the console. (you already
know how)
Then put the object into the array.
StudName[3] = stud1Object;
>-how to STORE that value in the array, so that, when I input another value from
>console
> the previous value won't be overrided?
>
>
Basically you put it in different spots in the array.
StudName[3] = stud2Object; // stud1 will be replaced.