• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to test/run a simple inheritance hierarchy in Eclipse

 
David Schwartz
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50189
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got it thank you
 
Campbell Ritchie
Sheriff
Pie
Posts: 50189
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic