My teacher gave us this whole code and wants us to fill it in but she never really taught at all on how to do arrays in general so I'm confused on the fact on how I should fill it in and the whole understanding of arrays.
public class Reverser
{
public static void main ( String[ ] args ) {
int[] data = {1,2,3,4,5,6,7,8,9,10,11,12,13,14};
// reverse the data
for ( int j=0; j < be careful here; j++) {
}
// Print out the new data
for ( int j=0; j < data.length; j++) {
}
}
}