This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes abstract Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstract" Watch "abstract" New topic


eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
can we keep "abstract" infront of interface method? does it throw any exception?
chi Lin
Ranch Hand

Joined: Aug 24, 2001
Posts: 348
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
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Did you try it? Did it compile? Did it run? There's your answer....

subject: abstract
It's not a secret anymore!