Question: JAVA Declare a String named NAME, whose value is your first name + aAbB + your last name. ii) Create a method called Count_A, which

JAVA

Declare a String named NAME, whose value is your first name + "aAbB" + your last name.

ii) Create a method called Count_A, which will return an integer value of how many letter "a" or "A" is included in the variable NAME.

iii) Create a main method to test the execution of Count_A.

Step by Step Solution

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

Students Have Also Explored These Related Databases Questions!