Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public double costPerMile() {

//method overloading example
//it takes an int as a parameter

// RYAN: the overloading looks good - but you're never using the costPerMileEx you take as a parameter
// I'm sure you know this, but want to be sure - in the code below you're ignoring the parameter and
// always setting costPerMileEx = 9;
public double costPerMile(int costPerMileEx){
costPerMileEx = 9;

Expand Down