CGI Interview Questions – Set 1
CGI had arranged a walk-in drive at Bangalore location and I have appeared for Java Developer position. There were total three technical rounds and the difficulty level was easy to medium. I was allocated a slot from 9:30 am to 1:00 pm, but the interview process took a full day. First Technical Round Tell me […]
Java Variables Interview Questions
Hello Developers, In this article, you will learn basics of java variables. If you are preparing for your first ever java interview, then you must go through all the questions mentioned in this article. It will definitely help you clear all your doubts related to java variables. After reading this article, you will be able to […]
How is Java different than other programming languages?
Hello Developers, In this article, I have explained many things regarding Java and I have also explained some important features of Java which played important role for making Java different and better than other programming languages. Now, without further ado, let's dive right into it. A bit about Java Java is a programming language, it […]
Java 11 Features
We already know that Java10 is the latest release in the market but Java11 is soon to be released(September-2018). Oracle is accelerating its release cycle as never before which means more feature in faster way getting added to JAVA. I know we still time get hands on Java11 is available in the market still we can already […]
Java 10 Features
Let's take a look and check into what is packed in Java10, which includes local variable type inference and unmodifiable collections APIs. If we check history then Java 10 is the fastest release of a Java till now. Java has always been known for slow releases, but Java 10 just trashed that concept. Java10 is a release with many future changes keeping in […]
Wissen Infotech Interview Questions – Set 2
I have appeared for Senior Java Developer Position at Wissen Infotech and It was my 3rd round. Interviewer mainly focused on Multithreading. He started with basic multithreading questions and moved to internals of Concurrent Utils. Here I am listing down some of the interesting questions he asked. What is the difference between notify() and notifyAll()? (Answer) How can […]
ServiceNow Interview Questions Set 1
First Round (Programming round at HackerEarth) I have participated in ServiceNow Developer Hiring Challenge conducted on HackerEarth. There were two programming questions in this challenge and I was able to solve both of them. Both of these problems are now present in Hacker Earth practice section. Second Round (Technical Telephonic Round) After few days, I got […]
Immutable class with mutable member fields in Java
Immutable class is a class which once created, it's content can not be changed. Immutable classes are good choice for HashMap key as their state cannot be changed once they are created. Objects of immuable classes are also thread safe as threads can not change the value of its fields once it is created. Creating a basic immutable class is very […]
Breaking Singleton using reflection and Enum Singleton
This is our fifth article in the series of Singleton Design Pattern. The purpose of the singleton class is to control object creation, limiting the number of objects to only one. In our previous articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. We have also discussed how we can […]
Preventing Cloning in Singleton Design Pattern
This is our third article on Singleton Design Pattern. The purpose of the singleton class is to control object creation, limiting the number of objects to only one. In our previous two articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. In this article, we will discuss how we can […]