You can create an array with initial values by using the array initializer syntax. Here's an example: int[] numbers = { 1, 2, 3, 4, 5 };   In this example, the ‘numbers’ array is created with five elements and initialized with the values 1, 2, 3, 4, and 5.