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 purpose of stub and skeleton?

548


What is scope & storage allocation of global and extern variables? Explain with an example

579


When does a class need a virtual destructor?

530


What is difference between class and object in java?

527


Using callable statement how can you pass out parameters, explain with example?

589






Can a class be private or protected in java?

556


What is a numeric string?

563


What are the 4 types of research methods?

515


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

486


When is the finalize() called?

699


Is array serializable java?

521


Is list thread safe in java?

491


How to check if a list is sorted in java?

589


How do you check if two strings are equal in java?

583


Can we override protected method in java?

580