mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-28 15:29:01 +02:00
Fixed stuff
This commit is contained in:
@@ -343,7 +343,7 @@ class Bicycle {
|
||||
speed -= decrement;
|
||||
}
|
||||
|
||||
public void setName(int newName) {
|
||||
public void setName(String newName) {
|
||||
name = newName;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user