Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query regarding Interface SingleThreadModel

 
isha krishnan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 174
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every interface is by default abstract.

Check this...

http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#30820
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic