Question: I do not understand how to do number 4, In Java please.. a. 1. Creation of project2. Package should include: a. Driver class... b. Sequence
I do not understand how to do number 4, In Java please..
a. 1. Creation of project2. Package should include: a. Driver class... b. Sequence class. 2. Compilation and execution Driver class and Sequence class compile without errors.. b. Correct answers on test data ........ 3. Defined Sequence class a. The class is generic b. Has two private instance variables: data[] and size c. Has default constructor.. d. Has constructor with one parameter (the capacity). 4. e. Has size () method f. Has append (E element) method. Has get (k) method, returning an E type object, where k is an index.. h. Has set (k, E newElement) method, where k is an index.... JUnit tests in the SequenceTest class a. Provides at least one test for each method in the Sequence class for one data type.. b. Provides at least one test for each method in the Sequence class for a second data type
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
