Blog Archives
1 2 3

00: Top 50+ Core Java interview questions answered – Q11 to Q23

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…

Read more ...
Tags: , , ,

00: Top 50+ Core Java interview questions answered – Q24 to Q36

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. When both a parent class and its subclass have a field with…

Read more ...
Tags: , , , ,

00: Top 50+ Core Java interview questions answered – Q37 to Q42

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? When does the…

Read more ...
Tags: , , , ,

00: Top 50+ Core Java Interview questions answered – Q43 to Q54

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. A red-black tree…

Read more ...
Tags: , , , ,

07: Q33 Top 5 OOP tips for Java developers

Tip #1: Tightly encapsulate your classes. A class generally contains data as well as methods, and is responsible for the integrity of its own data. The standard way to protect the data is to make it private, so that no other class can get direct access to it, and then write…

Read more ...
Tags:

10 Core Java Best Practices with an industry strength code sample

Best Practices is one of the key areas, and often you can impress your interviewers, peers, and code reviewers by applying the best practices to your code. If you are an interviewer, you can show a piece of code that is badly written, and ask for the recommendations as to…

Read more ...
Tags:

30+ SDLC activities you perform as a Java developer

Don’t get overwhelmed by this activities list. This proves why employers favor experience to just academic qualifications alone. It also emphasizes the fact why good technical skills must be complimented with good soft skills and right attitudes get things done as a software developer. I also vividly remember my first…

Read more ...
Tags:

5 tips that will put your Java contracting career on auto-pilot mode

If you are already working as a Java freelancer/contractor or aspiring to become one, here are 5 tips that will put your freelancing career as a programmer on auto-pilot mode. Feel free to share your experience and tips as a freelancer. If you aspire to become a freelancer/contractor then read 5 steps to become a Java freelancer

3 key benefits of contracting/freelancing

1) Better income, normally 1.2 to 2 times the permanent salary.… Read more ...

Tags: ,

Can you list 10 JEE best practices from your experience?

Core Java best practices and JEE best practices can reveal a lot about your experience as a Java developer.

Q1. Can you list 10 JEE best practices from your experience?
A1.

#1: Using datasources with JNDI lookups

DataSources make the code more portable than using the DriverManagers. For the DriverManagers you need to tightly couple the details like host, port, username, password, and driver class to connect to a database with the code, and even externalizing those in a properties file doesn’t give you the flexibility that the JNDI lookup give by configuring the DataSources on the application server.… Read more ...

Tags:

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:

Read more ...
Tags: ,

1 2 3

Java Developer & Architect Interview Q&As

Java & Big Data Tutorials

Prepare to fast-track & go places

FAQs are marked with 🔥 as some questions are not only more popular with the interviewers, but also required to build robust systems. If you are an interviewer, cover well rounded topics to judge real experience.

Don't be overwhelmed by the number of questions as the technology stacks are so vast. The quality of the answers you provide to some of the key technical & open-ended questions along with your soft skills & attitude will go a long way in getting the job offers.

Note: Some Q&As belong to more than one category.
Top