Check if an array contains an element java no loop code example
Example: arrays .contains methof
private static final Set<String> VALUES = Set.of(
"AB","BC","CD","AE"
);
private static final Set<String> VALUES = Set.of(
"AB","BC","CD","AE"
);