摘要:
匿名对象 是 不用写对象名称,直接new出来 new 类名称(); 匿名对象只能调用唯一的一次,下次调用时将会调用不同的对象 public char charAt(int index) 获取指定索引位置的单个字符(索引0从开始) public int indexOf(String str) 查找参数 阅读全文
摘要:
public class three { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = 10; int b = 20; int c = true ? a:b; Sy 阅读全文