can i make an interface as static or final or both?
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karthick_s
Posted On:   Friday, July 15, 2005 01:40 AM


can i make an interface as static or final or both?
if it is not why?

Re: can i make an interface as static or final or both?

Posted By:   Anonymous  
Posted On:   Wednesday, July 20, 2005 02:33 PM

You can't give static or final methods in Interface. You can write a simple program and test it. It complains that, static or final is not allowed here.

Re: can i make an interface as static or final or both?

Posted By:   Anonymous  
Posted On:   Wednesday, July 20, 2005 01:46 AM

Can I make an interface as static or final or both..

Re: can i make an interface as static or final or both?

Posted By:   Almagest_FUTT  
Posted On:   Friday, July 15, 2005 08:10 AM

Ask your compiler.
About | Sitemap | Contact