diff --git a/Week_02_The_Java_language/README.md b/Week_02_The_Java_language/README.md index 041aab3..3bd92a5 100644 --- a/Week_02_The_Java_language/README.md +++ b/Week_02_The_Java_language/README.md @@ -589,7 +589,7 @@ Now cenes are set up, we're ready to explore inheritance in java: * 'implements' defines a relationship between a class (Diesel) and an interface (Vehicle.Controllable). The interface method the class implementsmust be public. In our case, we must have `public void control()` and it cannot be `void control()` * Note the super keyword in the control() method, this is similar to 'this' keyword -- i.e. it refers to the superclass in the hierarchy. If wedon't user the super keyword in our case `super.getMessage()`, we'll end up with infinite loops as the default behavior is to call `this.getMessage(`. - > If you remove 'super' in control() method and run your app, what happens? + > If you remove 'super' in control() method and run your app, what happens? 4. Next, you need to link the layout with classes. Go back to MainActivity.java and insert variable declarations