Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | June 23, 2017

Scroll to top

Top

Interview Questions

The famous java == and .equals()

January 16, 2015 |

In Java, there is a difference between java == and equals() method to compare primitives (int, float etc), strings and objects. This is a short article just to clear the difference between the both.

Read More

What Is Unicode? UTF-8, UTF-16 and UTF-32 etc ?

December 30, 2014 |

In order for a computer to be able to store text and numbers that humans can understand, there needs to be a code that transforms characters into numbers. TheUnicode standard defines such a code by using character encoding.

Read More

Dependency Injection Explained (Especially for beginners)

November 13, 2014 |

Somebody asked a question : How to explain dependency injection to a 5-year old?

Well, sounds like that kid’s in for a hard life…
I suggest, start with “Once upon a time” 😛

Read More

ORACLE/PLSQL: ORA-12154

July 21, 2014 |

Learn the cause and how to resolve the ORA-12154 error message in Oracle.

Read More

Java Versions, Features and History

May 12, 2014 |

This article gives you a highlight of important features added in every major Java release. I am sure you will find it interesting. Read More

Composition vs Aggregation – Explained simply

January 8, 2014 |

Often, I here about an interview question being asked that is “What is composition and aggregation ?” Or “What is the difference between composition and aggregation ?”

And trust me if you don’t know already, a lot of people (sometimes experienced developers) get stuck on this question.

Read More

Why main method is static in Java

June 21, 2013 |

This is one of the basic question asked in interviews or in gatherings of professionals.

So here we go,

Main method is static in java because

 

This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention. Read More

Deadlocks in Java – How to avoid

April 18, 2013 | | 16 Comments

Deadlocks in Java is one of the tough categories in which interview questions are asked about multithreading, asked more at a senior level and with lots of follow up questions, though question looks very basic but most of developer get stuck once you start going deep.

The question might start with “What is deadlock ?” Read More

Pass-by-Value Please (Cup Size continued)

April 5, 2013 | | One Comment

Reblogged

If you haven’t read the Cup Size story, this one won’t make sense. Or it will make sense, but you’ll think its really stupid. Or you won’t think it’s stupid but you’ll find yourself… never mind, just go read it now and then come back. Read More

Two service methods in HttpServlet class

February 15, 2013 | | 2 Comments

Whenever we write a servlet, we inherit our class from HttpServlet which contains two service methods. Let’s have a look at the difference between both.

This article assumes that you have a basic knowledge of method overriding and overloading.

Read More

not found