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
Compare overloading and overriding?
Is java 9 released?
What is class and object in java?
What is an image buffer?
What is a locale?
What is the purpose of the enableevents() method?
Tell me are there implementations for sorting and searching in the java libarary?
What is stored procedure. How do you create stored procedure ?
How garbage collection is done in java?
What is compareto?
Why is string builder not thread safe?
Can we compare two strings in java?
What is a container in a gui?
Why string is not thread safe?
What are namespaces in java?