This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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....

I agree. Here's the link:
subject: abstract