Sometime back I've written an article on Producer Consumer Example and how to handle read/write operation better way in Java. On the similar note, in this tutorial we will discuss something on Race …
In Java How to convert Byte[] Array To String and String to Byte[]?
How to convert Byte[] Array to String in Java? How to convert UTF-8 byte[] to string? Convert Java Byte Array to String to Byte Array. String stores textual data and for storing binary data you …
Read Article about In Java How to convert Byte[] Array To String and String to Byte[]? →
How to iterate through Java List? Seven (7) ways to Iterate Through Loop in Java
How to iterate through Java List? This tutorial demonstrates the use of ArrayList, Iterator and a List. There are 7 ways you can iterate through List. Simple For loop Enhanced For loop …
Java: Simple QR Code Generator Example – Create QR codes for free
Scan this: You will be redirected to https://crunchify.com QR code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional barcode) first designed …
Read Article about Java: Simple QR Code Generator Example – Create QR codes for free →
Java: How to Get Random Key-Value Element From HashMap
Is there a way to get the value of a HashMap randomly in Java? Of Course, below is a simple Java Code which represents the same. Also, at the end of program there is a bonus code to Shuffle …
Read Article about Java: How to Get Random Key-Value Element From HashMap →
Mastering Multithreading: Demystifying Daemon Threads in Java
Learn Java daemon vs. non-daemon threads: termination impact & usage. Optimize concurrency efficiently. Difference between Daemon and Non Daemon thread in Java : Termination …
Read Article about Mastering Multithreading: Demystifying Daemon Threads in Java →
Java Primitive Data Types details
Java is a widely used programming language that is known for its simplicity and versatility. One of the fundamental concepts in Java is the data type, which defines the type of data that can be stored …
In Java how to join Arrays? 3 ways: Apache Commons ArrayUtils, Java 8 Streams and Simple APIs
In this tutorial we will go over different ways we can join Java Arrays. If you have any of below questions then you are at right place: How can I concatenate two arrays in Java?How to Merge Two …
Best way to convert Primitive Array to List in Java and Classic toString(), Iterator way
Java Stream() is an amazing util class with lots of functionalities. We have published almost ~30+ Java8 Stream related tutorial on Crunchify and this one is on stream().boxed.collect() utility. We …