代码搜索:Polymorphism

找到约 740 项符合「Polymorphism」的源代码

代码结果 740
www.eeworm.com/read/281848/9130103

java rodent12.java

// polymorphism/rodent/Rodent12.java // TIJ4 Chapter Polymorphism, Exercise 12, page 298 /* Modify exercise 9 so that it demonstrates the order of initialization of the * base classes and derived
www.eeworm.com/read/281848/9130106

java transmogrify16.java

// polymorphism/Transmogrify16.java // TIJ4 Chapter Polymorphism, Exercise 16, page 306 /* Following the example in Transmogrify.java, create a Starship class * containing an AlertStatus reference
www.eeworm.com/read/373369/9460328

java sandwich.java

//: polymorphism/Sandwich.java // Order of constructor calls. package polymorphism; import static net.mindview.util.Print.*; class Meal { Meal() { print("Meal()"); } } class Bread { Br
www.eeworm.com/read/169058/9883024

java sandwich.java

//: polymorphism/Sandwich.java // Order of constructor calls. package polymorphism; import static net.mindview.util.Print.*; class Meal { Meal() { print("Meal()"); } } class Bread { Br
www.eeworm.com/read/353439/10446762

java referencecounting13.java

// polymorphism/ReferenceCounting13.java // TIJ4 Chapter Polymorphism, Exercise 13, page 300 /* Add a finalize() method to ReferenceCounting.java to verify the termination * condition (see the Init
www.eeworm.com/read/353439/10446765

java biking.java

// polymorphism/biking/Biking.java // TIJ4 Chapter Polymorphism, Exercise 1, page 281 /* Create a Cycle class, with subclasses Unicycle, Bicycle and Tricycle. * Demonstrate that an instance of eac
www.eeworm.com/read/353439/10446769

java rodent12.java

// polymorphism/rodent/Rodent12.java // TIJ4 Chapter Polymorphism, Exercise 12, page 298 /* Modify exercise 9 so that it demonstrates the order of initialization of the * base classes and derived
www.eeworm.com/read/353439/10446771

java transmogrify16.java

// polymorphism/Transmogrify16.java // TIJ4 Chapter Polymorphism, Exercise 16, page 306 /* Following the example in Transmogrify.java, create a Starship class * containing an AlertStatus reference
www.eeworm.com/read/352425/10553430

java referencecounting13.java

// polymorphism/ReferenceCounting13.java // TIJ4 Chapter Polymorphism, Exercise 13, page 300 /* Add a finalize() method to ReferenceCounting.java to verify the termination * condition (see the Init
www.eeworm.com/read/352425/10553435

java biking.java

// polymorphism/biking/Biking.java // TIJ4 Chapter Polymorphism, Exercise 1, page 281 /* Create a Cycle class, with subclasses Unicycle, Bicycle and Tricycle. * Demonstrate that an instance of each