Question: Write a method in Java that tests to see whether a String begins with a capital letter, and also ends with a capital letter. The

Write a method in Java that tests to see whether a String begins with a capital letter, and also ends with a capital letter. The method should return the boolean value false if it is passed the String "Wives" and should return true if passed the string "BacoN"

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

6095050c0c711_210931.pdf

180 KBs PDF File

Word file Icon

6095050c0c711_210931.docx

120 KBs Word File

Students Have Also Explored These Related Computer Network Questions!