Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | December 15, 2017

Scroll to top

Top

java variables

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

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

Cup Size – A story about variables

February 5, 2013 | | 4 Comments

 

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. Read More