Question: Explain line by line the following and code and why it doesn't work and which lines contains and error.This is using java: public class Array1
Explain line by line the following and code and why it doesn't work and which lines contains and error.This is using java:
public class Array1 (1 public static void main(String[] args) { int array[] = new int[11],i; for (1-2; i -2; i--) { System.out.println(i + "^3 = " + array[i] + 'n'); } } }
Step by Step Solution
There are 3 Steps involved in it
Public class Array The keyword Public should be public as it is casesensitive in Java Th... View full answer
Get step-by-step solutions from verified subject matter experts
