public class Animal
extends java.lang.Object
Constructor and Description |
---|
Animal(java.lang.String size,
int price) |
Modifier and Type | Method and Description |
---|---|
int |
getPrice() |
java.lang.String |
getSize() |
void |
setPrice(int price) |
void |
setSize(java.lang.String size) |
Copyright © 2007–2020. All rights reserved.