Question: Write a simple Java class called NameChecker that reads two names (name and surname) from the arguments. The class should print the message Your name
Write a simple Java class called NameChecker that reads two names (name and surname) from the arguments. The class should print the message "Your name is name1 name2. Your name contains letters" where is the total number of letters in both names excluding any space. The class should check if the first letters of the names are capitalized
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
