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 Threads and Synchronization and the fly likes Query regarding Interface SingleThreadModel 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 » Threads and Synchronization
Bookmark "Query regarding Interface SingleThreadModel" Watch "Query regarding Interface SingleThreadModel" New topic
Author

Query regarding Interface SingleThreadModel

isha krishnan
Ranch Hand

Joined: Nov 10, 2008
Posts: 50
Hi All,

While browsing about SingleThreadModel,I came across below syntax:

public abstract interface SingleThreadModel
on below URL :
SingleThreadModel Interface

Is it legal to use Abstract and Interface Keywords together?
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Posts: 174

Every interface is by default abstract.

Check this...

http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#30820


- Chinna
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query regarding Interface SingleThreadModel
 
jQuery in Action, 3rd edition