SCJP 5.0 (100%)<br />SCWCD (getting ready...)
Originally posted by bhaskar:
My question is when the Main2 inherits the main method... then why can'nt the execution of the program be started by saying
java Main2
Nope static methods are indeed inhertied...
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Consider Paul's rocket mass heater. |