Java Interview questions

Monday, 20 October 2008, 16:31 | Category : Java
Tags : ,

Here a few Java Interview questions. Divided in three different categories:  Basic, Intermediate,  Advanced. Basic Q – Can a class have it’s main method declared as private? A – Yes, the program will compile but fail at runtime. Q – What if the static modifier is removed from the signature of the main method? A […]