Description: |
Write a sample code to remove duplicate Characters from a String. |
Code: | ||
|
Output: |
String with duplicates : godblessgovind String after duplicates removed : godblesvin |
Description: |
Write a sample code to remove duplicate Characters from a String. |
Code: | ||
?
|
Output: |
String with duplicates : godblessgovind String after duplicates removed : godblesvin |
Description: |
Write a sample code to print all map values. |
Code: | ||
?
|
Output: |
God
Bless
Govind
|
Description: |
Write a sample code to Count occurrences of character in string. |
Code: | ||
?
|
{P=1, a=1, r=2, g=2, i=1, m=2, n=1, o=1}
|
Description: |
Write a sample code to reverse String. |
Code: | ||
?
|
Enter String for reverse: godblessgovind Output: | ||||
Rverse of entered String is: dnivogsselbdog
|