Computer Science, asked by karthikae284, 4 days ago

Kavi wanted to display information in form of a matrix. Help her in initializing

values using different methods.​

Answers

Answered by adityasharma4582311
0

Answer:

C/C++ I used to do

int arr[10] = {0};

...to initialize all my array elements to 0.

Is there a similar shortcut in Java?

I want to avoid using the loop, i

Explanation:

hope its helpful

Similar questions