Glad you got it working.
Type: Posts; User: Norm
Glad you got it working.
Did you try doing a search for equals? Its used lots of times.
String wood = oak;
The compiler thinks oak is the name of a variable. If you mean for it to be a String, enclose it it "s
if (wood = "oak")
When comparing the contents of objects like Strings,...
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.
Can you explain what problems you are having with your assignment?
Ask some...