Skip to content

Instantly share code, notes, and snippets.

@daleth90
Last active Oct 29, 2018
Embed
What would you like to do?
class Pet { }
// 使用冒號來連接要繼承的類別
// Dog 繼承 Pet
class Dog : Pet { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment