Blog Archives

♥ 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

Read more ›

Posted in Collection and Data structures, Differences Between X & Y
Tags:

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:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in Differences Between X & Y, member-paid

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. final makes a variable reference not changeable, makes a…...

Members Only Content

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

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in Differences Between X & Y, member-paid

Java Collection interview Q&A on differences between X and Y

This post is for quick brush-up. These Q&A are discussed in detailed elsewhere in posts like When to use which Java collection or data structure? and why? | Sorting objects in Java interview Q&A Q1. What are differences between Enumeration and Iterator? A1. Enumeration is old and it’s there from…...

Members Only Content

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

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in Differences Between X & Y, member-paid

♦ 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>, which you…...

Members Only Content

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

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in Differences Between X & Y, member-paid

♦ Why do Proxy, Decorator, Adapter, Bridge, and Facade design patterns look very similar? What are the differences?

There are often patterns that look very similar, but differ in their intent. Most patterns use polymorphism with interface inheritance. Strategy and state design patterns are very similar as well. Proxy, Decorator, Adapter, and Bridge are all variations on “wrapping” a class. Facade design pattern is a container for the

Read more ›

Posted in Differences Between X & Y, GoF Patterns

600+ Java/JEE Interview Q&As

open all | close all

200+ FAQs for Quick Java Interview Prep

open all | close all

16 Technical Key Areas to standout

open all | close all

80+ step by step Tutorials conducive to self-taught projects

open all | close all

100+ pre-interview coding tests

open all | close all

How good are your …..?

open all | close all