代码搜索:polymorphism

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

代码结果 740
www.eeworm.com/read/343323/3220989

java instrument.java

//: polymorphism/music/Instrument.java package polymorphism.music; import static net.mindview.util.Print.*; class Instrument { public void play(Note n) { print("Instrument.play()"); }
www.eeworm.com/read/449042/1682822

java instrument.java

//: polymorphism/music/Instrument.java package polymorphism.music; import static net.mindview.util.Print.*; class Instrument { public void play(Note n) { print("Instrument.play()"); }
www.eeworm.com/read/446978/1707651

java instrument.java

//: polymorphism/music/Instrument.java package polymorphism.music; import static net.mindview.util.Print.*; class Instrument { public void play(Note n) { print("Instrument.play()"); }
www.eeworm.com/read/353051/3091089

java instrument.java

//: polymorphism/music/Instrument.java package polymorphism.music; import static net.mindview.util.Print.*; class Instrument { public void play(Note n) { print("Instrument.play()"); }
www.eeworm.com/read/430096/8766758

java rodent9.java

// polymorphism/rodent/Rodent9.java // TIJ4 Chapter Polymorphism, Exercise 9, page 289 /* Create an inheritance hierarchy of Rodent:Mouse, Gerbil, Hamster, etc. In the * base class, provide methods
www.eeworm.com/read/281848/9130101

java rodent9.java

// polymorphism/rodent/Rodent9.java // TIJ4 Chapter Polymorphism, Exercise 9, page 289 /* Create an inheritance hierarchy of Rodent:Mouse, Gerbil, Hamster, etc. In the * base class, provide methods
www.eeworm.com/read/373369/9460334

java music2.java

//: polymorphism/music/Music2.java // Overloading instead of upcasting. package polymorphism.music; import static net.mindview.util.Print.*; class Stringed extends Instrument { public void pl
www.eeworm.com/read/169058/9883031

java music2.java

//: polymorphism/music/Music2.java // Overloading instead of upcasting. package polymorphism.music; import static net.mindview.util.Print.*; class Stringed extends Instrument { public void pl
www.eeworm.com/read/353439/10446767

java rodent9.java

// polymorphism/rodent/Rodent9.java // TIJ4 Chapter Polymorphism, Exercise 9, page 289 /* Create an inheritance hierarchy of Rodent:Mouse, Gerbil, Hamster, etc. In the * base class, provide methods
www.eeworm.com/read/352425/10553440

java rodent9.java

// polymorphism/rodent/Rodent9.java // TIJ4 Chapter Polymorphism, Exercise 9, page 289 /* Create an inheritance hierarchy of Rodent:Mouse, Gerbil, Hamster, etc. In the * base class, provide methods