aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Extends Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Extends" Watch "Extends" New topic
Author

Extends

Eddie Long
Ranch Hand

Joined: Nov 02, 2003
Posts: 69

Using Eclipse the above code does not run. It gives the following runtime message

Any hints why this is the case?
NB: It works if I create a new class and do the following

[ Jess changed the
tage to [code] tags so the whitespace stays all pretty ]
[ November 06, 2003: Message edited by: Jessica Sant ]


...and so help me God.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I used the following code:

I have a sneaking suspicion that when you ran the code you tried to execute Modifiers and not newMod -- that's how I get the "no main found" error:


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extends