Question: Please answer all 8 questions. Thankyou! Question 16 Which statement is not true about the following array? String[] strFriends = { Rose, Bud, Flower, Spring

Please answer all 8 questions. Thankyou!

Question 16

Which statement is not true about the following array? String[] strFriends = { "Rose", "Bud", "Flower", "Spring" };

All elements have been assigned values.

The String "Flower" is located at index position 2.

The array has an unlimited number of elements.

All of the above are true statements about the array.

Question 20

When writing to a file, all of the following steps must be done except ________.

a file writer object must be created

a fully qualified path to the file must be specified

the file must be opened. If the file does not exist, the file will becreated.

the file must be closed

Question 22

How many total elements can be stored in the following array? int[] intGrades = {92 ,74,99,68,54,83};

7

6

5

cannot be determined

Question 23

Arrays are most useful because of their ability to store multiple datatypes.

True
False

Question 27

These are 1 greater than the index

Subscripts

Elements

Both of these

None of these

Question 29

File paths

Tell an application where the file is located

Can be specified by the Save and Open dialog boxes

Have a default location if a fully qualified path is not provided

All of these

Question 32

An array that is sized by assigning the total number of elements at declaration is said to be:

explicitly sized

implicitly sized

post-initialized

line ordered

Question 33

Parallel Arays link data by

element

bounds

index

datatype

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!