This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Why body is must for an abstract class inside a local class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Why body is must for an abstract class inside a local class" Watch "Why body is must for an abstract class inside a local class" New topic
Author

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

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707
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 ]

cmbhatt
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
I can created an abstract method in an abstract method innerclass

See code example and this compiles.



Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why body is must for an abstract class inside a local class
 
Similar Threads
abstract class problem
pls explain?
difference between add("hello") and add(new String("hello"));
Question? int[] Vs Integer[]