Question: Java Please: Find a good title On YouTube channel are more videos, each with a meaningful name. We want to test whether the videos contain
Java Please:
"Find a good title"
On YouTube channel are more videos, each with a meaningful name. We want to test whether the videos contain words written with initial capital letters (example: "Implement a Game of 2048") have more views than just written in lowercase. If we're at it, why not just use the use of capital? You offered to help us change all the names in the channel video by the new format, and then measure together if the number of views increases or not. Translator must define a class that contains a method transformCapitalLetters. The method will receive a StringBuffer containing only letters of English alphabet and spaces and modify it so that each of words start with uppercase.
Signature
public static void transformCapitalLetters(StringBuffer words) Example:
// your class here... public class prog { public static void main(String[] args) { StringBuffer title = new StringBuffer("Why it is good to participate in competitions"); Translator.transformCapitalLetters(titlu); System.out.println(title); // Why it is good to participate in competitions. } } Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
