Question: Java Create a character array with 9 characters, using an initializer list. Write a function called printCharacter to print the character array in order with
Java
Create a character array with 9 characters, using an initializer list. Write a function called printCharacter to print the character array in order with a line break at the end. Print your character array, then replace the 5th character with a 'Q' and then print your character array again. Create an integer array with 9 integers, using an initializer list. Write a function called printIntegerarray to print your integer array in sequence, with a * between the 4th and 5th characters with a line break at the end. Print the integer array. Create an integer array with 9 integers. Ask the user for 9 integers to fill it. Then print it with your printIntegerarray function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
