Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I have been instructed to make a custom array to help my skill

I have been instructed to make a custom array to help my skill. I

have written a java array but I keep getting 2 arrays saying its not recognized and I dont understand how or why. If anyone could point out where in my code Im going wrong. the error I am receiving is for lines 19 and 21 “package system does not exist” Im not sure why I’m getting this when I use println command with every code. any guidance is greatly appreciated
public class CustomArray
{
public static void main (String[] args)
{
// declare your array of integers
int arr[];
//This will choose how much memory will be used for
// your intergers
arr = new int[6];
// first element of array
arr[0] = 2;
// second element of array
arr[1] = 3;
arr[2] = 7;
arr[3] = 11;
arr[4] = 18;
arr[5] = 22;
// calculate length
system.out.println(“Array size is ” +arr.length);
for (int i =0; i <arr.length; i++)
system.out.println(“position” +i+ “is”+arr[i]);

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"