Initializing an array of characters

Report a typo
Create an array of chars named characters with four elements 'a', 'z', 'e', 'd' and output it.

Use the provided code template.
Write a program in Java 17
import java.util.Arrays;

public class Main {

public static void main(String[] args) {

char[] characters;

System.out.println(Arrays.toString(characters));
}
}
___

Create a free account to access the full topic