Question: Instructions In the U6_L3_Activity Three class, write a public static method called print Ings , which has a single parameter of an array of String

 Instructions In the U6_L3_Activity Three class, write a public static method
called print Ings , which has a single parameter of an array
of String values. The method printings which should be void, must print

Instructions In the U6_L3_Activity Three class, write a public static method called print Ings , which has a single parameter of an array of String values. The method printings which should be void, must print all the Strings from the parameter array which end in "ing" Use the runner class to test this method do not add a main method to your code in the U6_L3 Activity Three.java file or it will not be scored correctly Hint: you will need to get the substring containing the last 3 letters of each string and compare it to "ing", but be careful - your parameter array may contain Strings which are less than 3 characters long, Sample run (runner class): Enter array length 7 Enter values: nothing not thing ok look in Looking nothing thing looking Files STATUS O NOT SUBMITTED U6_L3_Activity_Three.java N 1. public class U6_L3_Activity Three{ 3 // Write your printings method here runner_UG_L3_Activity_T... } Files STATUS O NOT SUBMITTED U6_L3_Activity. Three.java runner_06_L3_Activity_T... 4 5 6 7 8 9 10 11 12 13 14 15 1 - import java.util.Scanner; 2 - public class runner_U6_L3_Activity_Three { 3 - public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Enter array length: "); int len = scan.nextIntO; scan.nextLine(); String[] wordList = new String[len]; System.out.println("Enter values:"); for(int i = 0; i

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!