The question is
"In Q1A write a method called getIntArraySize8() that returns an array
that can store 8 integers. "
It also says you should have only one statement in the method
my code is
public class Q1A {
int [] getIntArraySize8(){
int [] questionOne = new int[8];
return questionOne;
}
}
How do I make it so its only one statement?
By the way I use bluej
Thanks!