How do you declare an array of integers in Java?
You can declare an array by assigning values directly, like `arr = [1, 2, 3, 4];`
Hmm, that's not quite right. The syntax you used is not valid in Java.
Can you tell me the correct way to declare and initialize an array of integers in Java?