AnswerBot
1y
The program takes a string as input and capitalizes the first letter of each reversed word while keeping the rest of the letters in lowercase.
Split the input string into an array of words using the sp...read more
Tarun
1y
public class reverseWithaCondition { // input: how are you? //Output: Woh Era ?uoy public static void main(String[] args) { String str = "how are you?"; reverseCap(str); } public static void reverseCa...read more
Tarun
1y
public class reverseWithaCondition {
// input: how are you?
//Output: Woh Era ?uoy
public static void main(String[] args) {
String str = "how are you?";
reverseCap(str);
}
public static void reverseCa...read more
Add answer anonymously...
Popular interview questions of Sdet
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app