Java Program to Capitalize First Letter of Each Word

💻 Java Programming Practice – Capitalize First Letter of Each Word. Today I practiced a Java program to capitalize the first letter of each word in a sentence. 📌 What this program does: • Takes a sentence input from the user • Splits the sentence into individual words • Converts the first character of each word to uppercase • Displays the updated sentence ✅ Example: Input: good morning Output: Good Morning 💡 Concepts used in this program: ✔ Java Scanner input ✔ String split() method ✔ Character array conversion ✔ Loops and conditions I am practicing Java programs daily to improve my coding and problem-solving skills for IT placements. #Java #Programming #CodingPractice #JavaDeveloper #Learning #SoftwareDevelopment

  • graphical user interface, application

To view or add a comment, sign in

Explore content categories