For this assignment there should set and get methods for


* There are four instance variables:

* firstName (the first three letters of your first name)
* lastName (the first two letters of your last name)
* maidenName (the first two letters of your mother's maiden name)
* townName (the first three letters of the town or city in which you were born)

* For this assignment there should set and get methods for all four fields. The substring processing for each field should be placed in the respective set methods for each of the fields and these set methods called from the constructor method from where the object is instantiated. The generateStarWarsName() method of type String calls the four get methods to return the Star Wars name.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: For this assignment there should set and get methods for
Reference No:- TGS0144085

Expected delivery within 24 Hours