Create a virtual world application as your final project


Create a Virtual World application as your final project. This Virtual World will have several objects including a MyClone object and another object of your choice. For this Milestone, you will developyour MyClone class and create another class of your choice.

Your MyClone class should have instance variables firstName and lastName. The firstName and lastName instance variables will hold your first and last names. You will demonstrate your understanding of encapsulation by using the private specifier to restrict access to your instance variables.

You will continue to develop the MyClone class by adding accessor methods, mutator methods, and an introduction() method. The introduction() method will introduce yourself to the virtual world by displaying a greeting, your first and last name, and anything else you would want to say.

You will also create another class of your choice. Your programmer-defined class should have at a minimum two instance variables and one method. The instance variables and method should be representative of the data and behavior that objects of this class will have. You will demonstrate your understanding of encapsulation by declaring the instance variables as private and by creating accessors and mutator for each instance variable. You should have at least one constructor created that initializes all instance variables. Document your code.

firstName - Chris

lastName - Murphy

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a virtual world application as your final project
Reference No:- TGS0904857

Now Priced at $45 (50% Discount)

Recommended (95%)

Rated (4.7/5)