public class HelloJava { public static void main(String[] args) { System.out.println("Hello Java Simple"); Teacher t = new Teacher(); System.out.println(t); //Student s = …
package top.qaqaq.java.P711; import org.junit.jupiter.api.Test; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequ…
package top.qaqaq.java.P708; import org.junit.jupiter.api.Test; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayLis…
package top.qaqaq.java.P704; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Optional; import j…
package top.qaqaq.java.P702; import org.junit.jupiter.api.Test; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputS…
package top.qaqaq.java.P698; /** * @author RichieZhang * @create 2022-11-05 上午 11:52 */ public class MyInterfaceImpl implements MyInterface{ @Override public void methodAbstra…
/** * @author songhongkang * @create 2019 下午 11:51 * */ public void printHello() { System.out.println("马上建国70周年了,祝祖国母亲生日快乐!"); } printHello(); jshell
package top.qaqaq.java.P697; import org.junit.jupiter.api.Test; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import jav…
package top.qaqaq.java.P696; import top.qaqaq.java.P696.bean.Person; /** * @author RichieZhang * @create 2022-11-05 上午 10:56 */ public class ModuleTest { public static void ma…
这篇文章没有摘要
package top.qaqaq.java.P692; import org.junit.jupiter.api.Test; import java.util.Optional; /** * @author RichieZhang * @create 2022-11-05 上午 9:48 */ public class OptionalTest …
1. Stream API的理解 1.2 java8提供了一套api,使用这套api可以对内存中的数据进行过滤、排序、映射、归约等操作。类似于sql对数据库中表的相关操作。