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