dcsimg
Is it possible?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sabu_vs
Posted On:   Sunday, March 2, 2003 10:20 PM

Hi


I have a java class with main() method. I am extending this class and created a new class. Is it possible to add another main() method in the new class? If not why?

thanks

sabu

Re: Is it possible?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, March 3, 2003 01:25 AM

Hi,

Yes, you can override any non-final method.
About | Sitemap | Contact