With the release of JDK 5, Java included a new feature that helped in simplifying the method creation which require or need to take a variable number of arguments. This feature is called varargs and it is short for variable-length arguments. In this … [Read more...] about Understanding Java Variable Length Arguments (VarArgs)
The package java.util contains one of the Java’s most powerful subsystems: the Collections Framework. The Collections Framework is a modern chain of the importance of interfaces and classes that give cutting-edge innovation for managing the group of … [Read more...] about Top 10 Java Collections Interview Questions and Answers
Monitoring Disk, Memory, and Threads in Java In this journal entry, we’ll be showcasing how to monitor Disk, Memory, and Threads using Core Java. For the Disk usage, we will make use of the File class of Java for querying the specific disk … [Read more...] about How to Monitor Disk, Memory, and Threads in Java?
In a multi-threaded environment, there is always a race between two or more threads attempting to update the mutable shared data at the same time. Java has offered a mechanism where we can avoid these race conditions. The mechanism is basically the … [Read more...] about Understanding Java Synchronized Keyword
How to Create Annotations in Java? Annotations have been a powerful part of Java, but most times we tend to use them rather than create them. For example, it is not always difficult to find annotations in Java source code like @Override which is … [Read more...] about How to Create Annotations in Java?
The Java Platform, Standard Edition (Java SE) is used by wide variety of applications whether its a small applet on desktops or web services on large servers. In order to support this diverse range of deployments, the Java HotSpot VM provides … [Read more...] about Introduction to Java Garbage Collection Tuning (Part 1)
Most of the times developers are looking for the solution to convert java string to integer data type in java. In this journal entry, we will be talking about how we can convert a Java String to Integer data type. Convert Java String to … [Read more...] about How to convert Java String to Integer
Eclipse is one of the most popular IDEs with countless extensions and plugins for developers working in Java ecosystem. Eclipse provides a solid environment for developing, debugging, and running applications. In one of our previous journal entries, … [Read more...] about Eclipse Java IDE – Productivity Tips
Since now Java 9 is released, lets look at some of the important Java 9 features that Oracle has released at the JavaOne event. So, let's get started. Java 9 Features #JShell: REPL Oracle has joined the club of many languages which already … [Read more...] about Java 9 Features
JEWEL FUEL 999 Pure Silver Radha Krishna Stand And German Silver Tulsi Plant Gift Set In the previous journal entry "Understanding Java 8 Streams with Examples" we have looked at the core concepts of Java 8 Streams API with some examples. Then we … [Read more...] about Java 8 Streams Terminal Operation