Question: An initial objects are defined by the first letter of the first name and the first letter of the last name java classes. 1. Implement

 An initial objects are defined by the first letter of the

An initial objects are defined by the first letter of the first name and the first letter of the last name java classes. 1. Implement a class called Initials to define the object's initials. 2. Write a constructor that takes two characters and initializes the instance variables of the class. 3. Write a second constructor that takes the first and the last name of a person and create an object of type Initials. You have to use the first constructor to define the second constructor. 4. Write a toString method to display the initials. 5. Write a method that compares two initials, it should return true if the initials are identical otherwise the method should return false. 6. Write a main method to test all the methods defined in the class Initials

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!