I believe this is the 1st question you might expect in Java Interview. Very basic questions but widely used in interview :). There is no perfect answer for this and there are number of ways to answer this question. Might be your interviewer looking for practical approach of this questions? Possible. Then let’s start with basic definition and then we will go over the same with multiple examples.