Java's Strange Facts
Is it possible to override main method?
In Java we can not override a method which is static, but we can implement the method with the same name and parameters. This is called shadowing and not overriding.
Have a Look
Here
For A better explanation
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment