This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

abstract rules  RSS feed

 
saravanan ragunathan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we cannot declare abstract methods in interface as protected and default(even if we don't mention
any access specifier (default) compiler takes it as public)

but we can declare abstract method in abstract class as protected and default...

why there are different rules for abstract class and interface?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!