Mudassir Shahzad

Enterprise Software Development

June 21, 2013 | Mudassir Shahzad

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…)

Share: Facebook Twitter Linkedin
February 5, 2013 | Mudassir Shahzad

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…)

Share: Facebook Twitter Linkedin