代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/456367/7351057
h tabtenn1.h
// tabtenn1.h -- simple inheritance
#ifndef TABTENN1_H_
#define TABTENN1_H_
// simple base class
class TableTennisPlayer
{
private:
enum {LIM = 20};
char firstname[LIM];
char las
www.eeworm.com/read/146299/12660379
csp test1.csp
package test1;
var _r_words = {
"_asm":true, "__asm":true, "_far16":true, "__far16":true,
"enum":true, "__multiple_inheritance":true, "template":true,
"auto":true,
www.eeworm.com/read/333254/12693002
cpp use_stui.cpp
// use_stui.cpp -- using a class with private inheritance
// compile with studenti.cpp
#include
#include "studenti.h"
using std::cin;
using std::cout;
using std::endl;
void set(Stu
www.eeworm.com/read/333254/12693381
h tabtenn1.h
// tabtenn1.h -- simple inheritance
#ifndef TABTENN1_H_
#define TABTENN1_H_
// simple base class
class TableTennisPlayer
{
private:
enum {LIM = 20};
char firstname[LIM];
char las
www.eeworm.com/read/120487/6073483
out inherit.out
--
-- Test inheritance features
--
CREATE TABLE a (aa TEXT);
CREATE TABLE b (bb TEXT) INHERITS (a);
CREATE TABLE c (cc TEXT) INHERITS (a);
CREATE TABLE d (dd TEXT) INHERITS (b,c,a);
NOTICE: merging m
www.eeworm.com/read/113030/6142244
cpp driver.cpp
// Chapter 9 of C++ How to Program
// driver for inheritance hierarchy
#include
using std::cout;
using std::endl;
#include "vehicle.h"
#include "taxi.h"
#include "truck.h"
int
www.eeworm.com/read/487286/6518362
java testinherit.java
package inheritance1;
/*
* Person类
*/
class Person{
String name;
int age;
//构造方法
public Person(String name,int age){
this.name=name;
this.age=age;
System.out.println("
www.eeworm.com/read/408881/11366334
java personfactory.java
/*
* This is a complement of class Person
* This class is used by Inheritance1.java
* Please use jdk1.2 or later version and classes12.zip
*/
import java.sql.*;
import oracle.sql.*;
public class
www.eeworm.com/read/408881/11366343
java person_sqldata.java
/**
* This is the SQLData customized class of SQL object type
* "Person_t".
*
* It is used in file Inheritance2.java
* Please use jdk1.2 or later version and classes12.zip
*/
import java.sql.*;
www.eeworm.com/read/408881/11366347
java student_sqldata.java
/*
* This is a sub class of Person_sqldata, and maps to
* a user defined SQL data type -- Student_t.
*
* This class is used in class Inheritance2
* Please use jdk1.2 or later version and classes1