Which of the following statements correctly declares and creates an array to hold five double scores values?

A. integer[] scores = new double[5]
B. double[] scores = new integer[5]
C. double[] = new scores[5]
D. double[] scores = new double[5]


Answer: D

Computer Science & Information Technology

You might also like to view...

Graphics organize and present parallel lists of information and can be used in a variety of circumstances

Indicate whether the statement is true or false

Computer Science & Information Technology

What is Hexidecimal?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is NOT a method for protecting the worksheet against changes?

A) Export to PDF B) Mark as Final C) Add a signature line D) Track Changes

Computer Science & Information Technology

One of the most famous online auctions is ________

A) Createspace B) Craigslist C) eBay D) Amazon

Computer Science & Information Technology