Though both extends and implements keyword in Java is used to implement Inheritance concept of Object-Oriented programming, there is a s…
The Swing API and toolkit are heavily used in developing trading application front end in Java on both large Investment banks and small br…
I am starting a new series called Java Coding Quiz, in which I'll show you subtle Java concepts hidden in the code. This is an OCAJP o…
The JDBC ResultSet doesn't provide any isEmpty() , length() or size() method to check if its empty or not. Hence, when a Java program…
The final modifier is one of the important keywords in Java. You can use this with a class, method, and variable as well. A good knowledge …
One of the tricky question from Java Interview is, "Can we pass a Timestamp instance to a method expecting java.util.Date? " , it…
This is the second part of Java tutorial to show how to create Vending Machine in Java. In the first part , we have discussed problem state…
How do you design a Vending Machine in Java? is one of the good Java interview questions mostly asked at Senior level Java developer Inter…
Synchronized vs Concurrent Collections Though both Synchronized and Concurrent Collection classes provide thread-safety, the differences be…
notify vs notifyAll in Java What is the difference between notify and notifyAll method is one of th e tricky Java questions , w hich is ea…
What is the difference between Executor.submit() and Executor.execute() method in Java? is one of the good multi-threading questions for…
This time its servlet interview questions, I was thinking what to pick for my interview series and then I thought about J2EE and Servlet is…
The difference between stack and heap memory is c ommo n programming question a sked by beginners learning Java or any other programming l…
We often need to convert byte arrays to Hex String in Java, In order to print byte array contents in a readable format. Since many cryptogr…
Write a Java program to check if two String are anagram of each other, is another good coding question asked at fresher level Java Intervie…
Can static method be overridden in Java, or can you override and overload static method in Java , is a common Java interview question, most…
Data structures and algorithm questions are an important part of any programming job interview, be it a Java interview, C++ interview or an…
I had work previously on Struts 1 but never touched Struts 2, specially since Spring MVC was there to take the leading role. Recently one o…
Bitwise and BitShift Operators in Java - AND, OR, XOR, Signed Left and Right shift Operator Examples
Bitwise and Bit Shift operators in Java are powerful set of operators which allows you to manipulate bits on integral types like int, long,…
Singleton pattern vs Static Class (a class, having all static methods) is another interesting questions, which I missed while blogging ab…