You have given a string which contains duplicate characters. Write a program to remove all these duplicate characters and return a string which contains only unique element. In coffee- script

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
You have given a string which contains
duplicate characters. Write a program to
remove all these duplicate characters and
return a string which contains only unique
element.
In coffee- script
Transcribed Image Text:You have given a string which contains duplicate characters. Write a program to remove all these duplicate characters and return a string which contains only unique element. In coffee- script
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT