Sobes.tech
Junior

Чӣ гуна метавон як сатр ArrayList-ро ба HashSet табдил дод?

sobes.tech AI

Ҷавоб аз AI

// Сохтани HashSet аз ArrayList
HashSet<String> set = new HashSet<>(arrayList);