Question: java Write the definition for a method called digitName() that returns a String containing the name of the digit sent in as parameter. You can
java
Write the definition for a method called "digitName()" that returns a String containing the name of the digit sent in as parameter. You can assume that your method will always receive an integer that is between 0 and 9, inclusive. ("Inclusive" means including 0 and 9.) This method performs no user input and prints no output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
