Minor changes following review

This commit is contained in:
Alex Theedom 2016-09-03 19:24:33 +01:00
parent d4706b98ef
commit 89944e9a9f
3 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,6 @@ public abstract class Animal implements Eating{
private String name;
public Animal(String name) {
super();
this.name = name;
}

View File

@ -1,5 +1,5 @@
package com.baeldung.reflection;
public interface Eating {
public String eats();
String eats();
}

View File

@ -1,5 +1,5 @@
package com.baeldung.reflection;
public interface Locomotion {
public String getLocomotion();
String getLocomotion();
}