public class Cat extends Object
| Constructor and Description |
|---|
Cat() |
Cat(String name,
String sort,
String color,
boolean domesticated) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor() |
String |
getName() |
String |
getSort() |
boolean |
isDomesticated() |
Cat |
setColor(String color) |
Cat |
setDomesticated(boolean domesticated) |
Cat |
setName(String name) |
Cat |
setSort(String sort) |
Copyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.