Answer Posted / vikas
1. Split the String into a String array.
2. Iterate over the String Array and add values into a Set(Duplicate values are not allowed).
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What do you mean by singleton class in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
Why packages are used?
What is difference between fail-fast and fail-safe?
What is implicit object in java?
Explain about doubly linked list
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is integers and example?
What is the full name of java?
explain multi-threading in java?
How to retrieve data from database in java using arraylist?
Do we have pointers in java?
What is the difference between stream and buffer?
Can we declare an interface as final?
Where can I find jdk in my computer?