Skip to content

wolginm/CISC275-Spring2019-first-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CISC275-Fall2018-first-git

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

Done

  1. What five objects are created in the main?

We are creating three Dogs -Fido, 4 -Fido, 3 -Alfie, 4

a Dog ArrayList, and a Comparator of type Animal

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

The constructor call is in Collections.sort(object, Comparator), and we are writing the class for our comparator immediately after the constructor call.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages