代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/165904/5476698
java cow.java
package tutorial.inheritance.tableperhierarchy;
/**
* @hibernate.subclass
* discriminator-value="C"
*/
public class Cow extends Animal {
private String furColor;
public void makeSound() {
Syst
www.eeworm.com/read/165904/5476700
java cat.java
package tutorial.inheritance.tableperhierarchy;
/**
* @hibernate.subclass
* discriminator-value="B"
*/
public class Cat extends Animal {
private String nickName;
public void makeSound() {
Syst
www.eeworm.com/read/162614/5519746
c rttid2.c
// { dg-do run }
// { dg-options "-frtti" }
// test of rtti of single inheritance and multiple inheritance classes
// dynamic casting
#include
extern "C" {
int printf(const char *, ...
www.eeworm.com/read/162614/5521288
c vtable3.c
// { dg-do run }
// GROUPS passed vtable
// vtable file
// From: Pete Bevin
// Date: Mon, 28 Nov 1994 19:57:53 +0000 (GMT)
// Subject: g++-2.6.2: Virtual inheritance causes
www.eeworm.com/read/335381/12531706
htm sta_8979.htm
The Standard Exception Hierarchy
Click on the banner to return to the user guide home page.
www.eeworm.com/read/132541/14084881
java car.java
package examples.inheritance;
/** A class used to demonstrate inheritance concepts
*/
public class Car extends Vehicle {
private static final int NUMBER_OF_WHEELS = 4;
private int p
www.eeworm.com/read/108554/15584277
cpp ex15_2.cpp
/* Code for exercise 15.2.
|
| "C++ Solutions--Companion to The C++ Programming Language, Third Edition"
| by David Vandevoorde; Addison-Wesley 1998; ISBN 0-201-30965-3.
|
| Permission to u
www.eeworm.com/read/365171/7087559
h ch11cplayer.h
//Program 11-12 Deal the Cards and Inheritance
//File: Ch11CPlayer.H
#ifndef _CH11CPLAYER_H
#define _CH11CPLAYER_H
#include "Ch11Card.h"
class CPlayer
{
protected:
Card Hand[4]
www.eeworm.com/read/145545/12715137
java location2d.java
package examples.inheritance;
/** An example point in 2D space
*/
public class Location2D {
protected int x = 0, y = 0;
public Location2D( int initX, int initY ) {
x = initX;
www.eeworm.com/read/162614/5518552
c pr22488.c
// PR tree-optimization/22488
// This testcase is really a C++ FE bug in represnting virtual inheritance
// It gives the appearance to the middle end that the fields exist twice
// which resulted in a