Tuesday, 3 November 2015
Wednesday, 28 October 2015

We all know in java ArrayList does not have limit unlike Array where we can only add fixed number of elements.
ArrayList allows dynamically adding and removing the elements in this list. So question comes HOW?
By default initial capacity of an array is defined with constant DEFAULT_CAPACITY
private...
Monday, 26 October 2015
In most of the interviews of Java, We are often checked with the in depth knowledge of Collection APIs and its capabilities.
One of the very famous interview questions is: Why Set does not allow duplicate value?
Now, don’t tell me you were also asked the same
We all know Set theory in mathematics that all elements in Set are always unique. The same has been applied to the Set API. Let’s try to...
Friday, 23 October 2015
Below are few Eclipse shortcuts which can make your life easier/faster to work with it.
1. Manage Files and Projects
Ctrl+N
Create new project using the Wizard
Ctrl+Alt+N
Create new project, file, class,
etc.
Alt+f,
then .
Open project, file, etc.
Ctrl+Shift+R
Open Resource (file, folder or
project)
Alt+Enter
Show and access...
Subscribe to:
Posts (Atom)