Write a Java program to capitalize the first letter of each word in the following string: "i am a java programmer".

AnswerBot
9mo
Java program to capitalize first letter of each word in a given string
Split the input string by space to get individual words
Iterate through each word and capitalize the first letter
Join the words bac...read more
Help your peers!
Add answer anonymously...
HCLTech Senior Software Developer interview questions & answers
A Senior Software Developer was asked 6mo agoQ. Write a query to find the average salary of employees in a particular department...read more
A Senior Software Developer was asked 6mo agoQ. Write an SQL query to find the third highest salary of an employee.
A Senior Software Developer was asked 6mo agoQ. What is domain-driven design?
Popular interview questions of Senior Software Developer
A Senior Software Developer was asked 6mo agoQ1. Write a query to find the average salary of employees in a particular department...read more
A Senior Software Developer was asked 6mo agoQ2. Write an SQL query to find the third highest salary of an employee.
A Senior Software Developer was asked 6mo agoQ3. What is domain-driven design?
Top HR questions asked in HCLTech Senior Software Developer
A Senior Software Developer was asked 9mo agoQ1. Please introduce yourself.
A Senior Software Developer was asked 9mo agoQ2. What is the most challenging task you have recently completed in your current pr...read more
A Senior Software Developer was asked 9mo agoQ3. Introduce yourself?
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

