import java.util.*;
class ASC
{
public static void main(String args[])
{
HashSet<String> h=new HashSet<String>();
h.add(“Ram”);
h.add(“Abi”);
h.add(“Priya”);
h.add(“John”);
h.add(“Abi”);
System.out.println(h);
}
}
Start learning today with our wide range of courses taught by industry experts. Gain new skills, advance your career, or explore new interests.
Browse Coursesimport java.util.*;
class ASC
{
public static void main(String args[])
{
HashSet<String> h=new HashSet<String>();
h.add(“Ram”);
h.add(“Abi”);
h.add(“Priya”);
h.add(“John”);
h.add(“Abi”);
System.out.println(h);
}
}
Start learning today with our wide range of courses taught by industry experts. Gain new skills, advance your career, or explore new interests.
Browse CoursesLearn the fundamentals of programming with Python in this beginner-friendly course.
Master the basics of data analysis, visualization, and machine learning.
Build modern websites with HTML, CSS, JavaScript and popular frameworks.
Learn SEO, social media marketing, email campaigns and analytics.