... I'll post the actual code if someone wants me to...
Brandon Golway wrote:
Whenever I try to print king.getAge() (assuming I created the object and everything correctly) from the main function I would get 25 and not 22 and I dont understand why.
Brandon Golway wrote:... that got rid of the warnings that the variables are never read ...
Yes I meant the warnings that Eclipse was telling me about
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton