Question: RI N ..dl| 16%L 1 0.27 PM Problem Description You are going to write an object that takes a word (or short phrase) as an

RI N ..dl| 16%L 1 0.27 PM Problem Description You are going to write an object that takes a word (or short phrase) as an input for the Constructor and then will reverse the letters in the word. The object to implement this is referred to as ReverseWord and consists of only the following public methods public void setWord(String word) Sets the word to be processed public String getWord0 - Returns the word that is set with setWord. Note that if this is called before setWord then an empty String is returned public String getReversedWord Returns the word set by setWord with the letters in reverse order. Note that if this is called before setWord then an empty String is returned Note that you do not implement a Constructor. We will simply use the default constructor that Java creates for us. Your Main.java should contain code to test your ReverseWord object. Load multiple values and check to make sure that the values match the expected values Getting Started We are going to do this exercise by writing the object that solves the problem first (in a source file called ReverseWord.java) and then testing it using code we write into Main.java. Using the techniques shown on the web page titled How to Start Every Project in this Class create a source file called ReverseWord.java as well as a file called Main.java There is no code to copy for the assignment. You get to do it all! Don't forget to provide proper Javadoc documentation lesting Your Code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
