This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
1) Use code tags: , put your code between them. 2) If you get a compile error say which message you are getting. You have compiled it haven't you? 3) What does the error tell you? What don't you understand about the error message? [ July 16, 2006: Message edited by: Barry Gaunt ]
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
Joined: Jun 18, 2006
Yes the automatically generated Super() is no arg. But the only contructor Father has take in an arg. That's the problem. Thank you all for your replies
Joined: Aug 03, 2002
The compiler error is in class Son, not where you indicated in class Father. Class Father compiles perfectly OK. The message "cannot find symbol: constructor Father()" tells you need a no arg constructor in Father.