Blog Archives

00: 15+ Java multi-threading interview Q&As

Even the experienced Java developers dread Java multithreading interview questions & coding exercises. Interviewers love to drill you on multithreading as it can reveal a lot about your capabilities.

Q1. What is a thread?
A1. It is a thread of execution in a program.

Read more ›



02: 10 Java String class interview Q&As

Java Collection interview questions and answers and Java String class interview questions and answers are must know for any Java developer as these two APIs are the most frequently used in your Java application code. You can’t write any decent Java application without these 2 APIs.

Q1.

Read more ›



11: 5 Java multithreading scenarios interview

Advanced Java interview questions & answers on multithreading scenarios. Q1. Can you give some scenarios where you used multithreading? A1. Scenario 1: Servlets are inherently multi-threaded and each user will be using a thread from the thread pool. The number of threads are configured via the web container of the...

Members Only Content

Free Trial | Log In | Register | Home


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

Members Only Content

Free Trial | Log In | Register | Home


6 Java Modifiers every interviewer likes

Java modifiers like final, finally, const, volatile, transient and finalize are very popular with the job interviewers. You will see why because of the possible drill down questions.

Q1. What is the difference between ‘final‘ and ‘const

Read more ›



Q1 – Q10 Java OOPs interview Q&As

If you don’t get Java OOPs interview questions & answers right in the job interviews you can say OOPS !!!! to your Java interview success. Q1. Is Java a 100% Object Oriented (OO) language? if yes why? and if no, why not? A1. … Read more ›...

Members Only Content

Free Trial | Log In | Register | Home


Q1-Q10: Top 50+ Core Java interview Q&As

These are must know Java interview FAQs. If you don’t get these Java interview questions right, you will not be getting an offer.

Q1. What is the difference between “==” and “equals(…)” in comparing Java String objects?
A1. When you use “==” (i.e.

Read more ›



Q11-Q23: Top 50+ Core Java Interview Q&As

The focus is on Java OOP interview questions and answers. Q11. What is the difference between constructors and other regular methods? A11. Constructors must have the same name as the class name and cannot return a value. The constructors are called only once per creation of an object while regular...

Members Only Content

Free Trial | Log In | Register | Home


Q24-Q36: Top 50+ Core Java interview Q&As

Focus is on Java classes, interfaces and generics the interview questions and answers style. Java classes and interfaces are the building blocks. Q24. What happens when a parent and a child class have the same variable name? A24. … Read more ›...

Members Only Content

Free Trial | Log In | Register | Home


Q37-Q42: Top 50+ Core Java Interview Q&As

As a Java developer, you may not need to know how the JVM works, but the most important topic that you must know is Java Garbage Collection. How the Garbage Collection and object referencing work in Java. Q37. What do you know about the Java garbage collector? … Read more...

Members Only Content

Free Trial | Log In | Register | Home


Q43-Q54: Top 50+ Core Java Interview Q&As

Q43. What can you tell about the performance of a HashMap compared to a TreeMap? Which one would you prefer? A43. A balanced tree does have O (log n) performance. The TreeMap class in Java maintains key/value objects in a sorted order by using a red-black tree. … Read more...

Members Only Content

Free Trial | Log In | Register | Home


Why wait 5-10 when you can fast-track in 1-2 ?

open all | close all
Top