Hello, I need help with this assignment. From all the assignments so far this semester, I've hit a road block on this one. This is a two part assignment. I don't know how to even start on this.
This is the assignment.
Objectives
1. To be able to use
String methods.
2. To implement a simple class.
Overview
A name-formatter accepts a complete multi-part name and provides methods to obtain the name in various formats. For example, given a complete name “Jack Bee Quick Nimble”,
the formatter provides methods to obtain the first, second and last names, the full name, the brief name and the list name:
FIRST : Jack
SECOND : Bee
LAST : Nimble
FULL : Jack Bee Nimble
LIST : Nimble, Jack B.
BRIEF : J. B. Nimble
INITIALS: JBN
The formatter ignores all except the first, second and last names. If the complete name has only 1 part, it is interpreted as the first name. If there are exactly 2 parts, they are interpreted as the first and last names.
You are provided with a skeletal NameFormatter class, and a completed simple client class to
test your implementation.
Specific Requirements
1. A completed client main() is provided. Make no changes to the client.
2. A partially completed NameFormatter class is provided. Follow the comments to complete the constructor and other class methods.
3. Provide any private (helper) methods you find useful.
4. The constructor must always initialize all instance variables, even if to null.
5. The values of the instance variables must be “in standard form”: first letter uppercase, all other letters lowercase.
We make no changes to this one.
The modification goes here.