CORE JAVA PROGRAMMING - Topics
CORE JAVA PROGRAMMING - Practice Problems
CORE JAVA PROGRAMMING - Practice Problems
1. Program to Check if a String contains only digits?
Tutorial2. Program to perform Deep Copy for String?
Tutorial3. Program to prove String is immutable programmatically?
Tutorial4. Program to remove all occurrences of a given character from input String?
Tutorial5. Program to append the string using StringBuffer class
Tutorial6. Program to insert the string using StringBuffer class
Tutorial7. Program to Add Characters to a String
Tutorial8. Program to Add Characters to a String
Tutorial9. Program to Check Anagram
TutorialExplanation -
Two Strings are called the anagram if they contain the same characters. However, the order or sequence of the characters can be different.
10. Program to check whether a string is a Palindrome
Tutorial11. Program to Convert Enum to String
Tutorial12. Program to Convert String to String Array
Tutorial13. Program to count number of words in a String?
Tutorial14. Program to count the total number of characters in a string
Tutorial15. Program to count the total number of punctuation characters exists in a String
Tutorial16. Program to count the total number of vowels and consonants in a string
Tutorial17. Program to determine whether a given string is palindrome
Tutorial18. Program to determine whether one string is a rotation of another
Tutorial19. Program to divide a string in 'N' equal parts.
Tutorial20. Program to find all subsets of a string
Tutorial21. Program to find all the permutations of a string
Tutorial22. Program to find maximum and minimum occurring character in a string
Tutorial23. Program to find Reverse of the string
Tutorial24. Program to find the duplicate characters in a string
Tutorial25. Program to find the duplicate words in a string
Tutorial26. Program to find the frequency of characters
Tutorial27. Program to find the largest and smallest word in a string
Tutorial28. Program to find the longest repeating sequence in a string
Tutorial29. Program to find the most repeated word in a text file
Tutorial30. Program to find the number of the words in the given text file
Tutorial31. Program to Get a Character From the Given String
Tutorial32. Program to Insert a string into another string
Tutorial33. Program to Iterate Over Characters in String
Tutorial34. Program to Print a New Line in String
Tutorial35. Program to Print even length words
Tutorial36. Program to print smallest and biggest possible palindrome word in a given string
Tutorial37. Program to remove all the white spaces from a string
Tutorial38. Program to replace lower-case characters with upper-case and vice-versa
Tutorial39. Program to replace the spaces of a string with a specific character
Tutorial40. Program to separate the Individual Characters from a String
Tutorial41. Program to Splitting into a number of sub-strings
Tutorial42. Program to swap two string variables without using third or temp variable.
Tutorial43. Program to Swapping Pair of Characters
TutorialExplanation -
Enter the string from user and enter the characters that you want to swap with one another
44. Read two String user input and check if first contains second?
Tutorial45. Reserve String without reverse() function
Tutorial46. Reverse String Word by Word
Tutorial47. Write a program to check if two Strings are created with same characters?
Tutorial48. Write a program to find out first non repeated character from input String?
Tutorial49. Create an object StringBuffer class to reverse the string.
Tutorial50. Create an object StringBuffer class to show functionality of insert, append, delete and replace functions.
TutorialExpand Your Horizons with Our Free YouTube Courses
Our comprehensive YouTube courses cover a wide range of computer science and IT subjects. Each course is carefully crafted to provide you with a solid foundation and a deeper understanding of the topic. Explore our playlist of free courses and learn at your own pace. Stay ahead of the curve and boost your knowledge with our engaging video lectures.