Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete the following program based on the comment lines: public class test { static Scanner console = new Scanner ( System . in ) ;
Complete the following program based on the comment lines:
public class test
static Scanner console new Scanner Systemin;
public static void main String args
Call a method that returns your last name:
char myMiddleInitial m;
call a method that takes in my middle initial and returns the upper case letter of it:
Note that my middle initial could be any letter and not necessary m But always will be lower case letter.
call a method that takes in as input argument the name and your upper case middle initial and print them:
end of main
write the code for the method call of above here
write the code for method call of above here
Write the code for the method call od above here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started