Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why body is must for an abstract class inside a local class

 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Sorry, I mistakenly forgot to add abstract keyword before method.
Anyway, Thanks Remko for reminding me!
cmbhatt@imap.cc

download questions at cmbhatt5.tripod.com
Thanks,
cmbhatt
[ March 13, 2007: Message edited by: Chandra Bhatt ]
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can created an abstract method in an abstract method innerclass

See code example and this compiles.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic