I keep getting an inaccessible code error. Why? Community static int[] read Array(Scanner keyboard, int numElements) {throw novel Unsupported Operation Exception("TODO - implement");
int a[];
for (int i=0; i< numElements; i++){
a[i] = keyboard.nextInt();
}
Return a;
}



Reply With Quote
Copyright Techfuels
Bookmarks