# Interface Abstract 差異 ###### tags: `Design Pattern` `Interface` `Abstract` ## 兩者差異 * Abstract 較接近層次的抽象 * Interface 行為、動作的抽象 ## 兩者相同 * 不能直接new來使用 * 都是抽象層,包含抽象的方法,且不能直接生成instance ## Interface 特點 * 使用時機 * 多個class ## Abstract 特點
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.