Wednesday, 7 September 2016

main() method

1.       public static void main(String[] args)
2.       Why public?
3.       Why static?
4.       Why void?
5.       Why main
6.       Why String[] as parameter?
7.       is it possible to overload main(-) method?
8.       is it possible to override main(--) method?
9.       is it possible to provide more then one main(--) method with in a single java appl?
10.  Is it possible to execute any java application without using main method?

No comments:

Post a Comment