Friday, October 19, 2007

Java Tricky Questions

1)We normally use public static void main(String args[]) in every java application but instead of using this if we use public static void mian(String args[]) in a simple program.Then the program will
a)compile and then execute
b)compile and will not execute.
c)Error.

2)What is difference between final,finally and finalize ?

No comments: