Java Lock Example
Vijona6. February 2025 Java Lock Example Welcome to Java Lock example tutorial. Usually when working with multi-threaded environment, we use synchronized for thread safety. Content1 Java Lock2 Java Lock Example…
Java RandomAccessFile Example
Vijona6. February 2025 Java RandomAccessFile Example Java RandomAccessFile provides the facility to read and write data to a file. RandomAccessFile works with file as large array of bytes stored in…
Java QR Code Generator – Tutorial
Vijona6. February 2025 Java QR Code Generator Today we will look into the Java QR code generator program. If you are tech and gadget savvy, then you must be aware…
Read Text File in Java – Tutorial
Vijona6. February 2025 Read Text File in Java There are many ways to read a text file in java. A text file is made of characters, so we can use…
Java REPL – jshell Tutorial
Vijona6. February 2025 Java REPL – jshell Tutorial Java REPL or jshell is the new tool introduced in java 9. Today we will look into Java REPL basics and run…
Java SAX Parser Example
Vijona6. February 2025 Java SAX Parser Example javax.xml.parsers.SAXParser provides method to parse XML document using event handlers. This class implements XMLReader interface and provides overloaded versions of parse() methods to…
Java Spliterator – Tutorial
Vijona6. February 2025 Java Spliterator – Tutorial Like Iterator and ListIterator, Spliterator is a Java Iterator, which is used to iterate elements one-by-one from a List implemented object. Some important…
Java Stream distinct() Function
Vijona6. February 2025 Java Stream distinct() Function Java Stream distinct() method returns a new stream of distinct elements. It’s useful in removing duplicate elements from the collection before processing them.…
Java String Array – Tutorial
Vijona6. February 2025 Java String Array – Tutorial Java String array is used to hold a fixed number of Strings. String array is very common in simple Java programs, especially…



