
Why main method is static in Java
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. (more…)

Pass-by-Value Please (Cup Size continued)
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. (more…)

Cup Size – A story about variables
The Coffee Corral coffeehouse at the Ranch is famous around these parts for its unique cup collection. If you really need to understand the way values and objects are used in Java, you gotta start here. (more…)