This is what I'm supposed to do:
A Java program using single dimensional array. Have a list of 10 numbers and fetch a value based on the index.
The second part is not very clear, so I ended up with my code saying:
public static void main(String args)
int a=new a;
What's wrong with my code?And/or what did I leave out?