会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
向成功出发......
雪豹之路
随笔1
Code
1
using
System;
2
using
System.Collections.Generic;
3
4
namespace
P352_C
5
{
6
interface
Ia
7
{
8
void
mia();
9
}
10
class
A:Ia
11
{
12
public
int
ia
=
0
;
13
public
void
ma()
14
{
15
Console.WriteLine (
"
ma
"
);
16
}
17
public
void
mia()
18
{
19
Console.WriteLine (
"
mia
"
);
20
}
21
}
22
23
class
B:A
24
{
25
public
int
ib
=
0
;
26
public
void
mb()
27
{
28
Console.WriteLine (
"
mb
"
);
29
}
30
}
31
32
class
MainClass
33
{
34
public
static
void
Main(
string
[] args)
35
{
36
Ia i
=
new
A ();
37
38
Console.Read ();
39
}
40
}
41
}
42
posted on
2008-09-06 18:51
snowleopard
阅读(
126
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告