摘要:
使用条件: 输入与输出相同时可代替Lambda 表达式提高阅读性 package com.demo; public class Test2 { public static void main(String[] args) { Student s = new Student("张三", 18, "唱歌 阅读全文
摘要:
public class Test1 { public static void main(String[] args) { Student s = new Student("张三",18,"唱歌"); Student s1 = new Student("李四",27,"跳舞"); Student s 阅读全文