Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | June 23, 2017

Scroll to top

Top

Java Core

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

Stop Wasting Money On WebLogic, WebSphere, And JBoss Application Servers

June 6, 2014 |

Use Apache Tomcat. It is free.

I don’t understand why firms spend millions of dollars on Java application servers like Oracle Weblogic or IBM WebSphere Application Server. I get why firms spend money on Red Hat JBoss — they want … 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

How To Send HTTP Request GET/POST In Java

June 18, 2013 | | 3 Comments

A brief Introduction

 

Client server architecture requires two parts as main resources:

  1. Client and
  2. Server 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

not found