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
Define a java class.
What is return null in java?
What is garbage collection? What is the process that is responsible for doing that in java?
What do you understand by a Static Variable?
What is entry set in java?
Define canvas?
Explain java heap space and garbage collection?
What is the platform?
What Is Composition?
Why we do exception handling in java and how many types of exceptions are there?
What is data type modifier?
How to instantiate static nested classes in java?
What do you mean by a JVM?
What is an infinite loop? How infinite loop is declared?
What is the final keyword denotes?