Saturday, August 21, 2010

Polymorphism: Elm.java

Based on Sun Web Learning Center











Output of this program:

tree elm elm tree

If you remove comment, i.e. "//" from line 14, output will be 

tree elm elm elm

No comments:

Post a Comment