现在的位置: 首页 > 综合 > 正文

java编程思想 第二章练习1

2013年03月27日 ⁄ 综合 ⁄ 共 201字 ⁄ 字号 评论关闭

import java.util.*;

class intAndChar{
int a;
char b;
}

public class hello{
public static void main(String[] args){
intAndChar m_intChar = new intAndChar();
System.out.println(m_intChar.b);
System.out.println(m_intChar.a);
}

抱歉!评论已关闭.