摘要:
1. 基本数据类型和包装类 1)八个基本数据类型的包装类 基本数据类型 包装类 byte Byte boolean Boolean short Short char Character int Integer long Long float Float double Double 2)为什么为基本类 阅读全文
摘要:
一个类定义另一个类的内部定义,称为内部类。 public class Out1{ private String name; public static int health; class In{ //成员内部类 非静态 public void MyPrint(){ System.out.print( 阅读全文
摘要:
常用API部分 共40道选择题,每题2.5分。31-40是多选题,多选题有错则全错,全对才满分. c a) 将整数变成字符串 b) 将字符串变成字符数组 char[ ] c) 将字符串变成字节数组byte[ ] d) 获取中字符串中字符的个数 a) 1,1 b) 0,6 c) 0,0 d) 1,6 阅读全文