1 provide java code for a simple class of your choice be


1. Provide Java code for a simple class of your choice. Be sure to include at least one constructor, two methods and two fields. The fields should be private.Create a test class to construct and call the methods of your class. Describe your class and demonstrate your code functions properly. For example it can be a game, calculation or a calendar of some activity.

2.Provide Java code to create and initialize an array of integers (Java primitive int), floats or any other Java primitive type of your choice. You pick the array name and length. Demonstrate how you would determine the length of your array. Show this through a code example you create where you use the length member.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: 1 provide java code for a simple class of your choice be
Reference No:- TGS01178016

Expected delivery within 24 Hours