Shop OBEX P1 Docs P2 Docs Learn Events
Constructor blues — Parallax Forums

Constructor blues

EnriqueEnrique Posts: 90
edited 2007-11-04 13:09 in General Discussion
Hi,
·
I’m learning how to use constructors in Java. In the attached program I get an error message that points to the xyz=new Duck(); statement and I don’t know why. Can someone explain what’s going on?
·
·
Thanks,
·
Enrique

Comments

Sign In or Register to comment.