Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BruceEckel/OnJava8-Examples
/ Dog
Class
Dog
staticchecking/PetSpeak.py:14–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
print(
"meow!"
)
13
14
class
Dog(Pet):
15
def
speak(self):
16
print(
"woof!"
)
17
18
def
command(pet):
19
pet.speak()
Callers
1
PetSpeak.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected