Quantcast
Channel: Core Java – Differences X & Y – Java-Success.com
Browsing latest articles
Browse All 23 View Live

Multithreading interview Q&As on differences between X and Y

Q1. What is difference between ‘Executor.submit()’ and ‘Executor.execute()’ method ? A1. The difference is that execute() doesn’t return a “Future” object, so you can’t wait for the completion of the...

View Article



Differences between Spring XML and Spring JavaConfig (@Configuration)

This is a good candidate to make it to the job interview discussions along the debate of checked Vs unchecked exceptions as the industry is split on this very topic. Some favor XML, whilst others love...

View Article

Core Java Modifiers, Generics, and Annotations: differences

This post is for quick brush-up. These Q&A are discussed in detailed elsewhere in posts like Java modifiers interview Q&A/a| Java generics interview Q&A | Java annotations interview Q&A...

View Article

17 FAQ Java Collection interview Q&As

Java Collections interview questions and answers and Java String class interview Q&As are must know as you can’t write any decent Java application without these 2 APIs. This post focuses on Java...

View Article

07: Java Iterable Vs Iterator differences and know how

Q1. What are the differences between Iterator<T> Vs Iterable<T>? A1. The “Iterable” was introduced to be able to use in the “foreach” loop. A class implementing the Iterable interface can...

View Article

Browsing latest articles
Browse All 23 View Live




Latest Images