JavaWhy Main method in java is static?The method is static because otherwise there would be ambiguity: which constructor should be called…Pawneshwer GuptaMarch 17, 2015 1 min
JavaJAVA class overviewJAVA class standerd. It should start with Capital letter and in CamelCase (which means first letter…Pawneshwer GuptaMarch 15, 2015 1 min
JavaSwitch statement in javaSwitch statement is same as else if statement. In switch statement only 1 condition will be true and…Pawneshwer GuptaFebruary 18, 2015 1 min
JavaNested if statement in javaIs nested because you have conditions evaluated within other conditions, that is, dependent on…Pawneshwer GuptaFebruary 17, 2015 1 min
JavaElse if statement in JavaIf statement is used to single condition. But if we want to validate multiple condition then we can…Pawneshwer GuptaFebruary 17, 2015 1 min
JavaIf statement in java, how to useIf statement is used when we want to check a condition. We check a condition to prevent our program…Pawneshwer GuptaFebruary 16, 2015 1 min