Question: Given the following array declarations: String [ ] names = { John , Grace, Whitney, Peter } ; int nameSize = 4 ;
Given the following array declarations:
String names John "Grace", "Whitney", "Peter";
int nameSize ; the number of elements stored in the names array
String fruits lemons "oranges", null, "bananas", "blueberries";
String flags yellow "purple", "black", null;
Which arrays are compact AND perfect size? There may be more than one.
Group of answer choices
names
fruits
flags
none of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
