Blog: mkyong (Yong Mook Kim)


207 blogs updated: 33 min. ago
Java 14 - Record data class
This article is introducing the Java 14 new feature record or data class, defined in JEP 359. P.S This record data class is a preview featur...
19
22-05-2020 09:34:33 mkyong (Yong Mook Kim) Beginners
How to list containers in Docker?
In Docker, we can use docker ps to show all running containers, docker ps -a to show all running and stopped containers. Here are some of th...
3
21-05-2020 05:47:00 mkyong (Yong Mook Kim) Beginners
Java multi-line string, text blocks
This article will show you a few ways to declare and use a multi-line string in Java. String + String + String StringBuilder String.format S...
3
19-05-2020 12:10:14 mkyong (Yong Mook Kim) Beginners
What is new in Java 12
Java 12 reached General Availability on 19 March 2019, download Java 12 here or this openJDK archived. JEP 189: Shenandoah: A Low-Pause-Time...
4
18-05-2020 11:58:44 mkyong (Yong Mook Kim) Beginners
How to exit JShell in Java?
To exit JShell, type /exit. I stuck in JShell for minutes, commands like exit, ctrl + c, end, q!, q, quit all failed, the correct syntax to ...
3
18-05-2020 02:42:18 mkyong (Yong Mook Kim) Beginners
What is new in Java 11
Java 11 reached General Availability on 25 September 2018, this is a Long Term Support (LTS) version, download Java 11 here or this openJDK ...
3
17-05-2020 13:25:00 mkyong (Yong Mook Kim) Beginners
Java SSLSocket TLS 1.3 example
This Java 11 JEP 332 adds support for TLS 1.3 protocol. SSLSocket + TLS 1.3 An SSLSocket client with TLS1.3 protocol and TLS_AES_128_GCM_SHA...
4
16-05-2020 13:24:15 mkyong (Yong Mook Kim) Beginners
Java 11 shebang example in Docker
In Java 11, JEP 330 adds support to run single-file source code directly. Terminal # Before Java 11 $ javac Hello.java $ java Hello # Now Ja...
3
15-05-2020 12:28:43 mkyong (Yong Mook Kim) Beginners
Java Serialization examples
In Java, Serialization means convert an object into a byte stream, which can be saved into a file or transferred over the network, and the D...
3
15-05-2020 03:04:27 mkyong (Yong Mook Kim) Beginners
Java - How to generate a random 12 bytes?
In Java, we can use SecureRandom.nextBytes(by te[] bytes) to generate a user-specified number of random bytes. This SecureRandom is a crypto...
6
14-05-2020 20:11:29 mkyong (Yong Mook Kim) Beginners


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.