Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java please but in a solution class and tester class please Questiont: Programming Fundamentals: Problem Statement: Decription: Consider an input string array, inStrArr (String[D)
In Java please but in a solution class and tester class please
Questiont: Programming Fundamentals: Problem Statement: Decription: Consider an input string array, inStrArr (String[D) containing dates in the format " dd/mm/yyyy as its input values. Write a Java method which takes inStrAr as input parameter and returns an outStrArr (StringII) as per logic given below: - For every element in the inStrArr, - Make a new string, stri by concai sating " dd and " mm " of the date - If "yyyy" can be obtained upon any circular rotation of stri, add the year to the outStrArr - Otherwise, add "X" (uppercase) to the outStrArr Example: inStrArr 1: {003/11/1103","24/02/1991","31/01/1031","20/02/2002"} outStrArr: { "1103", "X", "X", "2002
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