代码搜索:Polymorphism
找到约 740 项符合「Polymorphism」的源代码
代码结果 740
www.eeworm.com/read/454660/7385822
java rodent10.java
// holding/Rodent10.java
// TIJ4 Chapter Holding, Exercise 10, page 409
/* Change Exercise 9 in the Polymorphism chapter to use an ArrayList to
* hold the Rodents and an Iterator to move through th
www.eeworm.com/read/454660/7386132
java rodent7.java
// interfaces/rodent/Rodent7.java
// TIJ4 Chapter Interfaces, Exercise 7, page 320
// Modify Exercise 9 in the Polymorphism chapter so that Rodent is an
// interface.
/* Solution includes, in same
www.eeworm.com/read/449743/7497480
java referencecounting.java
//: polymorphism/ReferenceCounting.java
// Cleaning up shared member objects.
import static net.mindview.util.Print.*;
class Shared {
private int refcount = 0;
private static long counter =
www.eeworm.com/read/434781/7801787
java rodent10.java
// holding/Rodent10.java
// TIJ4 Chapter Holding, Exercise 10, page 409
/* Change Exercise 9 in the Polymorphism chapter to use an ArrayList to
* hold the Rodents and an Iterator to move through th
www.eeworm.com/read/434781/7802098
java rodent7.java
// interfaces/rodent/Rodent7.java
// TIJ4 Chapter Interfaces, Exercise 7, page 320
// Modify Exercise 9 in the Polymorphism chapter so that Rodent is an
// interface.
/* Solution includes, in same
www.eeworm.com/read/333003/12711374
java rodent10.java
// holding/Rodent10.java
// TIJ4 Chapter Holding, Exercise 10, page 409
/* Change Exercise 9 in the Polymorphism chapter to use an ArrayList to
* hold the Rodents and an Iterator to move through th
www.eeworm.com/read/333003/12712487
java rodent7.java
// interfaces/rodent/Rodent7.java
// TIJ4 Chapter Interfaces, Exercise 7, page 320
// Modify Exercise 9 in the Polymorphism chapter so that Rodent is an
// interface.
/* Solution includes, in same
www.eeworm.com/read/332899/12718140
java rodent7.java
// interfaces/rodent/Rodent7.java
// TIJ4 Chapter Interfaces, Exercise 7, page 320
// Modify Exercise 9 in the Polymorphism chapter so that Rodent is an
// interface.
/* Solution includes, in same
www.eeworm.com/read/332899/12718219
java rodent10.java
// holding/Rodent10.java
// TIJ4 Chapter Holding, Exercise 10, page 409
/* Change Exercise 9 in the Polymorphism chapter to use an ArrayList to
* hold the Rodents and an Iterator to move through th
www.eeworm.com/read/325023/13230911
java referencecounting.java
//: polymorphism/ReferenceCounting.java
// Cleaning up shared member objects.
import static net.mindview.util.Print.*;
class Shared {
private int refcount = 0;
private static long counter =