Blog: mkyong (Yong Mook Kim)


250 blogs updated: 11 min. ago
Python Ternary Conditional Operator
This article shows you how to write Python ternary operator, also called conditional expressions. if else expression1 will be evaluated if t...
3
16-10-2019 23:52:05 mkyong (Yong Mook Kim) Beginners
Java Ternary Operator examples
This example shows you how to write Java ternary operator. Here's the syntax condition ? get_this_if_true : get_this_if_false Java ternary o...
18
16-10-2019 17:12:48 mkyong (Yong Mook Kim) Beginners
Python - Generate random integers between 0 and 9
Few Python examples to show you how to generate random integers between 0 (inclusive) and 9 (inclusive) 0 1 2 3 4 5 6 7 8 9 1. randrange 1.1...
3
16-10-2019 06:37:59 mkyong (Yong Mook Kim) Beginners
Java - How to search a string in a List?
In Java, we can combine a normal loop and .contains(), .startsWith() or .matches() to search for a string in ArrayList. JavaExample1.java pa...
3
16-10-2019 00:05:33 mkyong (Yong Mook Kim) Beginners
Python - How to split string into a dict
Few Python examples to show you how to split a string into a dictionary. 1.1 Split a string into a dict. #!/usr/bin/python str = "key1=value...
3
15-10-2019 17:26:04 mkyong (Yong Mook Kim) Beginners
Java 11 HttpClient Examples
This article shows you how to use the new Java 11 HttpClient APIs to send HTTP GET/POST requests, and some frequent used examples. P.S Teste...
20
11-10-2019 17:30:38 mkyong (Yong Mook Kim) Beginners
OkHttp - How to send HTTP requests
This article shows you how to use the OkHttp library to send an HTTP GET/POST requests and some frequent used examples. P.S Tested with OkHt...
16
10-10-2019 16:57:29 mkyong (Yong Mook Kim) Beginners
Apache HttpClient Basic Authentication Examples
This article shows you how to use Apache HttpClient to perform an HTTP basic authentication. P.S Tested with HttpClient 4.5.10 pom.xml org.a...
4
09-10-2019 17:42:05 mkyong (Yong Mook Kim) Beginners
Maven error: release version 1.13 not supported
A simple mvn compile and prompts the following error message: P.S Tested with Java 13 Terminal $ mvn compile Fatal error compiling: error: r...
4
23-09-2019 07:17:18 mkyong (Yong Mook Kim) Beginners
Java 12 - Switch Expressions
Java 12, JEP 325: Switch Expressions enhanced the traditional switch statement to support the following new features: Multiple case labels S...
0
20-09-2019 02:22:00 mkyong (Yong Mook Kim) Beginners


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

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