Are you aware of Logback Logging Framework? Well, most of the people mainly use log4j and slf4j into their project. Since last 6 months I've been using Logback.xml logging framework and I would say I …
How to Generate Random Number in Java with Some Variations?
In Java, there is a method random() in the Math class, which returns a double value between 0.0 and 1.0. In the class Random there is a method nextInt(int n) , which returns a …
Read Article about How to Generate Random Number in Java with Some Variations? →
How to implement Bucket Sort Algorithm in Java? Detailed Explanation
Bucket sort is a sorting algorithm used to sort a collection of floating-point numbers into increasing order. The algorithm works by dividing the range of the input numbers into n buckets, where n …
Read Article about How to implement Bucket Sort Algorithm in Java? Detailed Explanation →
Finding the Middle Element of a Linked List in Java (Two Pointers and Size of LinkedList way)
A linked list is a data structure that consists of a sequence of nodes, where each node contains an element and a reference to the next node. In this post, we will see how to find the middle element …
In Java How to Set and Get Thread Priority? Get Thread ID, Count, Class, StackTrace, ThreadGroup and More
In Java multithreading programming, sometimes you may need to set Thread priority in order for it to execute before another thread. You can set and get Thread priority programmatically using …
Java NIO (Non-blocking I/O) with Server-Client Example – java.nio.ByteBuffer and channels.Selector – Java NIO Vs. IO
Java NIO is my favorite topic. I have been working with NIO since last 2 years and would like to share simple Server-Client code for my readers who are free to use this code in their production …
MailerLite – Unlocking Success with New MailerLite
Unlocking Success with MailerLite: A Comprehensive Guide to Email Marketing Excellence. In today's fast-paced digital landscape, effective communication is key to building lasting relationships …
Read Article about MailerLite – Unlocking Success with New MailerLite →
Kinsta – Modern, Secure, and Super Fast WordPress Hosting
Choosing the right hosting provider for your WordPress site is the critical component and the first step for any user. Personally I've been working on WordPress sites since 2007 as an Individual …
Read Article about Kinsta – Modern, Secure, and Super Fast WordPress Hosting →
Java14 Synchronous HttpClient Example – Overview and Simple Tutorial – send()
Java recently released Java 14 JDK. In this tutorial we will go over Overview and Simple Java Synchronous HttpClient Client Tutorial. If you have any of below questions then you are at right …
Read Article about Java14 Synchronous HttpClient Example – Overview and Simple Tutorial – send() →