I'm making a calculator in java (in eclipse) and I have a problem that I don't know how to solve. Below is a sample of the code and what is bolded is the problem, in eclipse it is underlined with red lines, why?
Please don't use coloured text because some people can't read it.
Please use the code button; I have added code tags to your post and doesn't it look better now Bold tags and other formatting do not work inside code tags.
Danilo Sekulic wrote:. . . why? . . .
If you hover the mouse on the red marks, Eclipse will show you the compiler error and give you a dropdown list of suggestions to correct it.
Campbell Ritchie wrote:If you hover the mouse on the red marks, Eclipse will show you the compiler error ...
You also can see a list of all project errors by selecting Window / Show View / Problems from the menu (or Alt+Shift+Q followed by X). and then right-click on a particular error to give options such as Quick Fixes like Campbell mentioned.
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!