Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
//! Cat a = new Cat(); the constructor has protected access. change the
to
and everything would be fine. //! a.what(); both what() methods has protected access. change both of public and everything will run fine too. //! c.what(); this should have no problems..
Replies:
|
Sponsored Links
|