代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/230048/6789195
java wind.java
//: c06:Wind.java
// Inheritance & upcasting.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.util.*;
class In
www.eeworm.com/read/230048/6789299
java frog.java
//: c07:Frog.java
// Cleanup and inheritance.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruceeckel.simpletes
www.eeworm.com/read/113029/15472135
cpp fig22_18.cpp
// Fig. 22.18: fig22_18.cpp
// Driver for multiple inheritance example.
#include
using std::cout;
using std::endl;
#include "base1.h"
#include "base2.h"
#include "derived.h"
i
www.eeworm.com/read/377523/9272809
java bigegg2.java
//: c08:BigEgg2.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Proper inheritance of an inner class.
class Egg2 {
pro
www.eeworm.com/read/274807/10851468
java bigegg2.java
//: c08:BigEgg2.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Proper inheritance of an inner class.
class Egg2 {
pro
www.eeworm.com/read/140892/13054124
java cartoon.java
//: c06:Cartoon.java
// Constructor calls during inheritance.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruc
www.eeworm.com/read/138758/13216649
java cartoon.java
//: c06:Cartoon.java
// Constructor calls during inheritance.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruc
www.eeworm.com/read/320605/13421956
java cartoon.java
//: c06:Cartoon.java
// Constructor calls during inheritance.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruc
www.eeworm.com/read/479166/6699962
cpp fig22_11.cpp
// Fig. 22.11: fig22_11.cpp
// Driver for multiple-inheritance example.
#include
using std::cout;
using std::endl;
#include "Base1.h"
#include "Base2.h"
#include "Derived.h"
int
www.eeworm.com/read/150914/12245536
java cartoon.java
//: c06:Cartoon.java
// Constructor calls during inheritance.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruc