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
Get step-by-step solutions from verified subject matter experts
