代码搜索:Polymorphism
找到约 740 项符合「Polymorphism」的源代码
代码结果 740
www.eeworm.com/read/370596/9592935
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/370596/9592946
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/370596/9592953
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/414988/11087659
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/414988/11087664
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/414988/11087670
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/414988/11087675
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/430096/8766729
java biking17.java
// polymorphism/biking/Biking17.java
// TIJ4 Chapter Polymorphism, Exercise 17, page 310
/* Using the Cycle hierarchy from Exercise 1, add a balance method() to
* Unicycle and Bicycle, but not to
www.eeworm.com/read/430096/8766776
java rodent14.java
// polymorphism/Rodent14.java
// TIJ4 Chapter Polymorphism, Exercise 14, page 301
/* Modify Exercise 12 so that one of the member objects is a shared object with
* reference counting, and demonstr
www.eeworm.com/read/281848/9130078
java biking17.java
// polymorphism/biking/Biking17.java
// TIJ4 Chapter Polymorphism, Exercise 17, page 310
/* Using the Cycle hierarchy from Exercise 1, add a balance method() to
* Unicycle and Bicycle, but not to