Blog Archives
Page 1 of 2
1 2

01: ♦ 17 FAQ Java Collection interview questions answered on differences between X & Y

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 Collection interview Q&As on differences between X and Y based on the Java Collection Framework (i.e. … Read...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

45-Day-Quick-Brushup, 90-Day-Full-Access-Career-Companion, 180-Day-Full-Access-Career-Companion, 365-Day-Full-Access-Career-Companion and 2-Year-Full-Access-Career-Companion Free Trial | Log In | Register | Home


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 be iterated over. For example,

Hence, it can be used in the foreach loop

The Iterable interface has one method iterator()

So,

Read more ›



Core Java Modifiers, Generics, and Annotations: differences between X and Y interview Q&A

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 Q1. What are the differences among final, finally, and finalize? A1. … Read more ›...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

45-Day-Quick-Brushup, 90-Day-Full-Access-Career-Companion, 180-Day-Full-Access-Career-Companion, 365-Day-Full-Access-Career-Companion and 2-Year-Full-Access-Career-Companion Free Trial | Log In | Register | Home


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 using the JavaConfig. Q1. What are the Pros and Cons of Spring JavaConfig Vs....

Members Only Content

This content is for the members with any one of the following paid subscriptions:

45-Day-Quick-Brushup, 90-Day-Full-Access-Career-Companion, 180-Day-Full-Access-Career-Companion, 365-Day-Full-Access-Career-Companion and 2-Year-Full-Access-Career-Companion Free Trial | Log In | Register | Home


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 Runnable, and get any exception it throws. The submit(…) method accepts Callable<V> and returns an instance of Future<V>, … Read...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

45-Day-Quick-Brushup, 90-Day-Full-Access-Career-Companion, 180-Day-Full-Access-Career-Companion, 365-Day-Full-Access-Career-Companion and 2-Year-Full-Access-Career-Companion Free Trial | Log In | Register | Home


Page 1 of 2
1 2
Top