代码搜索:polymorphism

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

代码结果 740
www.eeworm.com/read/490333/1200046

cs employeestest.cs

// Fig. 10.14: EmployeesTest.cs // Demonstrates polymorphism by displaying earnings // for various Employee types. using System; using System.Windows.Forms; namespace Employees { public cl
www.eeworm.com/read/228954/4761756

cs employeestest.cs

// Fig. 7.14: EmployeesTest.cs // Demonstrates polymorphism by displaying earnings // for various Employee types. using System; using System.Windows.Forms; namespace Employees { public cla
www.eeworm.com/read/405478/2291137

java sportcar.java

//$Id: $ package org.hibernate.test.annotations.polymorphism; import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.annotations.PolymorphismType; /** * @au
www.eeworm.com/read/191613/8426066

cpp ex1211a.cpp

// Programming with C++, Second Edition, by John R. Hubbard // Copyright McGraw-Hill 2000 // Example 12.11(a), page 284 // Polymorphism through virtual Functions #include using n
www.eeworm.com/read/191613/8426337

cpp ex1211.cpp

// Programming with C++, Second Edition, by John R. Hubbard // Copyright McGraw-Hill 2000 // Example 12.11, page 284 // Polymorphism through virtual Functions #include using name
www.eeworm.com/read/430096/8767278

java sandwich8.java

// interfaces/Sandwich8.java // TIJ4 Chapter Interfaces, Exercise 8, page 320 /* In polymorphism.Sandwich.java, create an interface called FastFood (with * appropriate methods) and change Sandwich
www.eeworm.com/read/187222/8840673

java shapes.java

//: Shapes.java // Polymorphism in Java class Shape { void draw() {} void erase() {} } class Circle extends Shape { void draw() { System.out.println("Circle.draw()"); } void erase
www.eeworm.com/read/281848/9130435

java sandwich8.java

// interfaces/Sandwich8.java // TIJ4 Chapter Interfaces, Exercise 8, page 320 /* In polymorphism.Sandwich.java, create an interface called FastFood (with * appropriate methods) and change Sandwich
www.eeworm.com/read/373369/9460342

java fieldaccess.java

//: polymorphism/FieldAccess.java // Direct field access is determined at compile time. class Super { public int field = 0; public int getField() { return field; } } class Sub extends Su
www.eeworm.com/read/169058/9883038

java fieldaccess.java

//: polymorphism/FieldAccess.java // Direct field access is determined at compile time. class Super { public int field = 0; public int getField() { return field; } } class Sub extends Su