Blog: mkyong (Yong Mook Kim)


222 blogs updated: 39 min. ago
How to Pretty Print JSON output in cURL
In cURL requests, the default JSON output is in compact format. Terminal curl {"success":false,"errors" :[{"code":7000,"message": "No route ...
3
16-06-2020 14:22:04 mkyong (Yong Mook Kim) Beginners
Java - Convert String to Binary
This article shows you five examples to convert a string into a binary string representative or vice verse. Convert String to Binary Integer...
3
09-06-2020 09:38:26 mkyong (Yong Mook Kim) Beginners
Java - Convert an Integer to a binary string
In Java, we can use Integer.toBinaryString(in t) to convert an Integer to a binary string representative. Integer.java public final class In...
3
07-06-2020 09:16:08 mkyong (Yong Mook Kim) Beginners
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


© 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.

Made better & faster using https://www.yourkit.com/ Java Profiler