This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

asking about interfaces

 
kumar abhay
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Question i:-Interface can not have objects,how instance methods are created?
[ March 18, 2002: Message edited by: Cindy Glass ]
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


"Interface can not have objects,how instance methods are created?"

Because you have a concrete implemention of the (abstract) method Method() from the interfaces A and B in your class Myclass.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic