常见语言计算机语言

C语言 即中文版的C语言

O语言 

O语言是一款中文计算机语言

(或称套装:O汇编语言、O中间语言、O高级语言)

AAuto

ActionScript

APL、

A+

B语言

J语言

Ada

汇编语言

AWK

Basic

Fortran

VBScript

Brainfuck

C语言

C++

C#

Clipper

COBOL

dBase

易语言

PASCAL

Delphi

Forth

FoxPro

F#

Fava

IDL

Java

JavaScript

J#

LISP

Lua

LOGO

Modula

Nuva

Perl

PHP

PL/I

Prolog

Python

R语言

Ruby

Scheme

Smalltalk

IceMaker

SQL

Tcl/Tk

Visual Basic

Visual FoxPro

XML

 1 package Com.TableTest;
 2 
 3 
 4 public class TableText_20 {
 5     public static void main(String[] args)  {
 6         new Circles();
 7     }
 8 }
 9  
10 class Draw {
11      
12     public Draw(String type) {
13         System.out.println(type+" draw constructor");
14     }
15 }
16  
17 class Shapes {
18     private Draw draw = new Draw("shape");
19     public Shapes(){
20         System.out.println("shape constructor");
21     }
22 }
23  
24 class Circles extends Shapes {
25     private Draw draw = new Draw("circle");
26     public Circles() {
27         System.out.println("circle constructor");
28     }
29 }

 

原文地址:https://www.cnblogs.com/borter/p/9393704.html