代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/279032/10479384
htm ei39.htm
Effective C++, 2E | Item 39: Avoid casts down the inheritance hierarchy Back to Item 38: Never redefine an inherited default parameter value.
Continue to Item 40: Model "has-a" or "is-implemented-in-
www.eeworm.com/read/279032/10479592
htm ei40.htm
Effective C++, 2E | Item 40: Model "has-a" or "is-implemented-in-terms-of" through layering Back to Item 39: Avoid casts down the inheritance hierarchy.
Continue to Item 41: Differentiate between inh
www.eeworm.com/read/332978/7141850
java bigegg2.java
//: innerclasses/BigEgg2.java
// Proper inheritance of an inner class.
import static net.mindview.util.Print.*;
class Egg2 {
protected class Yolk {
public Yolk() { print("Egg2.Yolk()"); }
www.eeworm.com/read/297233/8041648
c search.c
/* Breadth-first and depth-first routines for
searching multiple-inheritance lattice for GNU C++.
Copyright (C) 1987, 89, 92-96, 1997 Free Software Foundation, Inc.
Contributed by Michael Tie
www.eeworm.com/read/325023/13231076
java bigegg2.java
//: innerclasses/BigEgg2.java
// Proper inheritance of an inner class.
import static net.mindview.util.Print.*;
class Egg2 {
protected class Yolk {
public Yolk() { print("Egg2.Yolk()"); }
www.eeworm.com/read/239324/13287179
eps chmxx_8h__incl.eps
%!PS-Adobe-2.0
%%Creator: dot version 1.9 (Fri Mar 28 03:49:36 UTC 2003)
%%For: (indrek) Indrek Mandre
%%Title: inheritance
%%Pages: (atend)
%%BoundingBox: 35 35 355 121
%%EndComments
save
%%BeginProl
www.eeworm.com/read/239324/13287208
eps chmxx_8h__dep__incl.eps
%!PS-Adobe-2.0
%%Creator: dot version 1.9 (Fri Mar 28 03:49:36 UTC 2003)
%%For: (indrek) Indrek Mandre
%%Title: inheritance
%%Pages: (atend)
%%BoundingBox: 35 35 125 121
%%EndComments
save
%%BeginProl
www.eeworm.com/read/239324/13287244
eps chm__dissect_8cpp__incl.eps
%!PS-Adobe-2.0
%%Creator: dot version 1.9 (Fri Mar 28 03:49:36 UTC 2003)
%%For: (indrek) Indrek Mandre
%%Title: inheritance
%%Pages: (atend)
%%BoundingBox: 35 35 725 173
%%EndComments
save
%%BeginProl
www.eeworm.com/read/487286/6518488
java testinherit.java
package Inheritance;
class Human{
String name;
int age;
//构造方法
public Human(String name,int age){
this.name=name;
this.age=age;
System.out.println("Human: "+name+", age="+age);
www.eeworm.com/read/408881/11366339
java employee_sqldata.java
/*
* This is a sub class of Person_sqldata, and maps
* to a user defined SQL data type -- Person_t
* This class is used in Inheritance2.java
*
* Please use jdk1.2 or later version and classes12.z