import java.util.*; public class Main { public static void main(String[] args) { // Set.of(値.....) var strSet = Set.of("A", "B"); // ループで取得(順番は ...