Students, please be sure to log in. This site does not use cookies and does not track/store work submitted when not signed in.
Unit 8 Problems
Java Reference Sheet
doubles
This problem tests your knowledge of declaring and instantiating two-dimensional arrays in java.
The method allOnes, returns a 2x2 two-dimensional array where all the elements are 1.5s as shown below.
1.5
1.5
1.5
1.5