Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AllieWiener/CISC275-Spring2019-first-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CISC275-Fall2018-first-git

  1. Create java files to make this code compile and run.

  2. What five objects are created in the main?

    The 5 objects created in the main are the 3 dog instaces, the arrayList that holds the the dogs created and the comparator
    object that is passed into the collections.sort method.

  3. Can you spot the comparator constructor call? Where is the class definition for the comparator?

    The comparator constructor call is in the Collections.sort method it's "new Comparator." The class definition for
    the comparator is in the body of the collections.sort method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages