Question: create a new java project called module01quiz add a package...
Create a new Java project called Module01Quiz. Add a package called m01 and inside this package a class Module01(no need for a main method). Within this class write two methods.
The method MethodA has one parameter of type String and it returns a String. It should transform the original word, that is provided as an argument, as described below. Then it should return the resulting string. Use methods from class String and/or StringBuilder to implement the method methodA. Here is a list of changes that need to be made:
1. All underscores('_') should be removed
2. All the letters in the word should be lowercase except for the following cases:
- If a word starts with an a, that a should be uppercase
-if a word ends with the letter z, that z should be uppercase.
3. After the above modifications have been applied, add the reversed word to the end of the word e.g. cat => cattac ant => AnttnA
After all changes have been made, the resulting string should be returned.
The method methodB should count the number of letters from the original word, that is provided as an argument. However, some letter combinations that count as one letter: ae, oe, ue, eu, and au.
Example: hi..2, Heu..2, Eule..3, rauh..3, Hund..4, maehen..5, freundlich..9