What is the difference between int[] array and int[] array?

Asked 2 years ago, Updated 2 years ago, 93 views

When I was studying in a book, I learned int[array], but recently I looked at other people's sources There were a lot of people who declared int[] array. I was just trying to ignore it, but I suddenly got curious. I wonder why they are so different in their style of declaring whether there is a difference between the two.

java array

2022-09-22 22:17

1 Answers

The meaning of both is the same. The int array [] has been added to make it easier for programmers to use Java. int[] array is less confusing and desirable.


2022-09-22 22:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.