Blog Archives

Java 7 fork and join tutorial with a diagram and an example

Q. How does java.util.concurrent.RecursiveTask work? A. It uses a single ForkJoin pool to execute tasks in parallel for both computing sum of numbers recursively and chunking (or breaking) them into chunks of say 3 or less as per the following example. … Read more ›...

Members Only Content
Log In Register Home

Java 7: Top 8 new features with examples

There are several small new features and enhancements in Java 7. The major features and enhancements are in Java 8. Let’s look at the Java 7 new features. #1: string in switch statement: Output is: #2 Binary integral literals Output: #3: Underscores for better readability in numeric literals Output: #4:...

Members Only Content
Log In Register Home

800+ Java Interview Q&As

Prepare to fast-track & go places
with multi-offers to choose from & increased earning potential. Expand your horizons along the way by taking the road less travelled.
Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories.