0% found this document useful (0 votes)
5 views1 page

String Task

The document outlines various Java programming tasks, including string manipulation techniques such as capitalizing words, reversing strings, counting characters and words, and handling duplicates. It also covers methods for checking string properties, parsing data types, and generating subsets and permutations. Additionally, it provides contact information for Candid Training in Chennai.

Uploaded by

sakthi.1005.m
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

String Task

The document outlines various Java programming tasks, including string manipulation techniques such as capitalizing words, reversing strings, counting characters and words, and handling duplicates. It also covers methods for checking string properties, parsing data types, and generating subsets and permutations. Additionally, it provides contact information for Candid Training in Chennai.

Uploaded by

sakthi.1005.m
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1. Write a java program to capitalize each word in string?

2. Write a program to convert String from back to its data types using parseXXX() methods?

3. Write a java program to reverse each word in string?

4. How to remove Whitespaces from String

5. Java Program to count the total number of characters in a string

6. Java Program to Count Number of Duplicate Words in Given String

7. How to get distinct characters and their count in a String?

8. Write a java program to reverse a String and check if a String is Palindrome?

9. How to remove all occurrences of a given character from input String?

10. Write a program to count number of words in a String?

11. Write a program to find out first non repeated character from input String?

12. Provide two ways to check if a String contains only digits?

13. Java Program to count the total number of punctuation characters exists in a String

14. Java Program to Count the Number of Occurrences of Substring in a String

15. Java Program to Count the Occurrences of Each Character in String

16. Java Program to Merge two String Arrays?

17. How to remove duplicate words from String in Java?

18. Java Program to divide a string in 'N' equal parts.

19. Java Program to replace lower-case characters with upper-case and vice-versa

20. Java Program to replace the spaces of a string with a specific character

21. Java Program to find all subsets of a string

22. Java Program to find all the permutations of a string

23. Java Program to print smallest and biggest possible palindrome word in a given string

24. Java Program to determine whether two strings are the anagram

Candid Training, 137B, 2 nd Street, Shanthi Nagar, Chrompet, Chennai – 600044.


Phone / Whatsapp: +91 7200069003

You might also like