From:
http://stackoverflow.com/questions/16217313/static-vs-sealed-class-difference
回答的簡單明瞭:
+-------------------------+---+--------+--------+--------+----------+
| Class Type | | normal | static | sealed | abstract |
+-------------------------+---+--------+--------+--------+----------+
| Can be instantiated | : | YES | NO | YES | NO |
| Can be inherited | : | YES | NO | NO | YES |
| Can inherit from others | : | YES | NO | YES | YES |
+-------------------------+---+--------+--------+--------+----------+
沒有留言:
張貼留言