Rename Reptile to Amphibian

This commit is contained in:
Cristian Stancalau
2020-11-09 19:16:59 +02:00
parent 091b55ff8f
commit bd9d8d24fd
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
package com.baeldung.exceptions.classcastexception;
public class Reptile implements Animal {
public class Amphibian implements Animal {
@Override
public String getName() {

View File

@@ -1,6 +1,6 @@
package com.baeldung.exceptions.classcastexception;
public class Frog extends Reptile {
public class Frog extends Amphibian {
@Override
public String getName() {