25 Points Complete Following Folder Class Also Add Comparetoo Method Would Order Objects Q37083629

(25 points) Complete the following Folder class below. Also add the compareToO method that would order the objects according

Please answer this ASAP

(25 points) Complete the following Folder class below. Also add the compareToO method that would order the objects according to name and if they have same name then they are ordered according to the numberOfFiles. 2. public class Folder implements Comparable<Folder> ( private String name; private String nunberOfFiles: //store total number of files in the folder /I constructor that constructs the given name and number public Folder ( // returns the name of the folder

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.