Minor changes following review
This commit is contained in:
parent
d4706b98ef
commit
89944e9a9f
|
@ -5,7 +5,6 @@ public abstract class Animal implements Eating{
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
public Animal(String name) {
|
public Animal(String name) {
|
||||||
super();
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package com.baeldung.reflection;
|
package com.baeldung.reflection;
|
||||||
|
|
||||||
public interface Eating {
|
public interface Eating {
|
||||||
public String eats();
|
String eats();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package com.baeldung.reflection;
|
package com.baeldung.reflection;
|
||||||
|
|
||||||
public interface Locomotion {
|
public interface Locomotion {
|
||||||
public String getLocomotion();
|
String getLocomotion();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue