Polymorphic copy: Difference between revisions

Content added Content deleted
(Add Nimrod)
Line 1,482: Line 1,482:


class S : T {
class S : T {
init() { } // must implement the constructor here too since it is @required in T
override func identify() {
override func identify() {
println("I am an S")
println("I am an S")