Question: I have attached my code for normal reversing but Im brand new to java and Im not sure how to do this Submit your assignment

I have attached my code for normal reversing but Im brand new to java and Im not sure how to do this  I have attached my code for normal reversing but Im brand
new to java and Im not sure how to do this Submit

Submit your assignment as a report. You need to do the following for each of the problems to get full points 1) Program listing with line numbers. [7 points ] 2) Create at least 3 test cases and report their output. [ 3 points 1. Write a Java method that will take a string and reverse it. Can you come up with a method that is faster than regular reversing of the for loop? 10 points 2. Write a Java program that generates a new string by concatenating the reversed substrings of even indexes and odd indexes separately from a given string. For this code you may use the above method to reverse the string 10 points Examples Input: abacacd output: dasaccb Explanation: Substring are :asad, bcc Reversed substrings are : dasa, ccb output: dasaccb

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!