CS1011
Class Exercise
DogDriver |
+main(args: String[]): void +createDog(in: Scanner): Dog ... |
Dog |
-breed: String {readonly} -color: String {readonly} -name: String |
+Dog(breed: String, color: String) +setName(name: String): void +getName(): String +getColor(): String +getBreed(): String +sit(): void +speak(): void +receivePraise(): void ... |