Share
Explore BrainMass

Array Syntax, Initialization, and Headers

1. Give an example of an array that is initialized during declaration:
2. Write a method header that accepts an array as a parameter:
3. What is the result of the syntax: double a[ ], b;

Solution Preview

1. Give an example of an array that is initialized during declaration:
int [] a = {1, 2, 3, 4};

2. ...

Solution Summary

This solution of 79 words touches on the topics of array syntax, initialization and results of the syntax with brief explanations.

$2.19