A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
Joined: Oct 20, 2002
Nov 18, 2003 23:05:00
can we keep "abstract" infront of interface method? does it throw any exception?
Joined: Aug 24, 2001
Nov 18, 2003 23:28:00
it will not throw exception as interface method is implicitly abstract
not so smart guy still curious to learn new stuff every now and then
Joined: May 10, 2001
Nov 19, 2003 05:57:00
Did you try it? Did it compile? Did it run? There's your answer....
I agree. Here's the link:
Interfaces and synchronized keyword
Use of constructor in abstract class?
Common EJBObject and SessionBean interface
Interface containing an abstract method.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015