Blog: mkyong (Yong Mook Kim)


207 blogs updated: 24 min. ago
How to reverse a string in Java
In this article, we will show you a few ways to reverse a String in Java. StringBuilder(str).revers e() char[] looping and value swapping. b...
0
04-06-2020 12:41:01 mkyong (Yong Mook Kim) Beginners
How to reverse a string in Python
In Python, the fastest and easiest way to reverse a string is the extended slice, [::-1]. print("hello world"[::-1]) # dlrow olleh This arti...
6
04-06-2020 06:08:24 mkyong (Yong Mook Kim) Beginners
Java - How to convert a byte to a binary string
In Java, we can use Integer.toBinaryString(in t) to convert a byte to a binary string representative. Review the Integer.toBinaryString(in t...
3
03-06-2020 06:49:46 mkyong (Yong Mook Kim) Beginners
Java - Convert negative binary to Integer
Review the following Java example to convert a negative integer in binary string back to an integer type. String binary = Integer.toBinarySt...
0
02-06-2020 13:06:38 mkyong (Yong Mook Kim) Beginners
Java Sign Extension
In Java, Sign extension will kick in if we are doing the following stuff: Widening primitive conversion Cast from one type to another, which...
11
02-06-2020 06:48:22 mkyong (Yong Mook Kim) Beginners
Java >> and >>> bitwise shift operators
In programming, bitwise shift operators, >> means arithmetic right shift, >>> means logical right shift, the differences: >>, it preserves t...
4
01-06-2020 12:20:53 mkyong (Yong Mook Kim) Beginners
Python support in IntelliJ IDEA
This article shows you how to make IntelliJ IDEA support and run Python. P.S Make sure Python SDK is installed, later we need to link this P...
3
31-05-2020 12:28:20 mkyong (Yong Mook Kim) Beginners
Java AES encryption and decryption
The Advanced Encryption Standard (AES, Rijndael) is a block cipher encryption and decryption algorithm, the most used encryption algorithm i...
13
30-05-2020 09:33:40 mkyong (Yong Mook Kim) Beginners
JUnit 5 Tutorials
JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage P.S JUnit 5 requires Java 8 (or higher) at runtime 1. JUnit 5 + Maven See this full...
4
24-05-2020 05:48:56 mkyong (Yong Mook Kim) Beginners
What is docker -rm option
On Docker, --rm option means automatically remove the container when it exits. $ docker run --rm Done Please read on to understand more abou...
4
23-05-2020 07:38:25 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.