Java
T
point
Home
Core Java
Servlet
JSP
Struts2
Mail API
Hibernate
Spring
Android
Design Pattern
Projects
Interview Q
View All Questions
Ask New Question
print the duplicate value from array list
By:
varun.***
On:
Thu Mar 08 14:46:05 IST 2018
0
0
0
0
if i add something like that
l.add("A");
l.add("B");l.
l.add("A");
l.add("C");
l.add("C");
l.add("D");
l.add("H");
l.add("A");
MY OUTPUT SHOULD BE
A,A,C,C,A
0