File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes how to test/run a simple inheritance hierarchy in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to test/run a simple inheritance hierarchy in Eclipse" Watch "how to test/run a simple inheritance hierarchy in Eclipse" New topic
Author

how to test/run a simple inheritance hierarchy in Eclipse

David Schwartz
Greenhorn

Joined: May 28, 2008
Posts: 10
wanted to ask where i can find simple instructions on how to run a simple inheritance (see code below) in Eclipse?


thank you


=============

=============
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38353
    
  23
Why not run it from the command-line? You are better off not using an IDE at this stage, if possible.

I have found an Eclipse Tutorial; that might help.
When you open the new class wizard in Eclipse, it asks for the name of the class, and also it superclass; if you put "Employee" in the superclass box, it will automaticaly add extends Employee to your source code.

I think this thread might sit better on our IDEs forum, so shall move it there.
David Schwartz
Greenhorn

Joined: May 28, 2008
Posts: 10
got it thank you
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38353
    
  23
You're welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to test/run a simple inheritance hierarchy in Eclipse