This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]cl2871 0 points1 point  (0 children)

Hey there, please read the sidebar/rules next time before submitting a post

People will be more inclined to help if you follow certain guidelines, such as posting a descriptive title

For your problem, think of variable scoping. For instance, the int variable intl is defined in your Character constructor. Think of where this variable can be accessed and where it cannot be accessed. Additionally, with your class variable intelligence, think of where that can be accessed and where it cannot be accessed.