aabccdee
Find the used alphabets as abcde ?

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


Please Help Members By Posting Answers For Below Questions

what is the difference between yielding and sleeping? : Java thread

525


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

582


What do you mean by Function Overloading in java?

632


What are advantages and disadvantages of OOPs?

630


Can we convert integer to string in java?

598






give an example for encapsulation?

582


What is <> used for in java?

671


What is formatted output in java?

501


What are void methods?

572


Why are functions called methods in java?

534


what state does a thread enter when it terminates its processing? : Java thread

599


what is singleton in java?

600


What is string length in java?

495


Which collection is best for sorting in java?

696


What is difference between Heap and Stack Memory?

536