Question: Creat any java project with a class and test class and do the flowing for it: 1-Implement the compartable and cloneable interface. 2-The test class
Creat any java project with a class and test class and do the flowing for it:
1-Implement the compartable and cloneable interface.
2-The test class should creat 10 instances of this class.
3-store these instance in Array and ArrayList.
4-Show the demo of sorting these objects stored in Array and ArrayList.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
