Those are single quotes, not double quotes. Java requires strings be identified by "STRING" while chars are identified by 'C'.
Are you saying that your eclipse is replacing " with '?
Those are single quotes, not double quotes. Java requires strings be identified by "STRING" while chars are identified by 'C'.
Are you saying that your eclipse is replacing " with '?
when i press ' it makes 2 so i can type inside of them
No, that's not the same as a double quote. Eclipse auto-completes the ' and " by default and places the cursor between them. You need to use " when dealing with a string, not '.
No, that's not the same as a double quote. Eclipse auto-completes the ' and " by default and places the cursor between them. You need to use " when dealing with a string, not '.
im sorry i don't understand, but im pretty sure i used '' in the first picture ? sorry for being a noob :/
my suggestion until you understand syntax's and proper techniques is to write/code all your code in an outside editor that does not auto complete anything for you- ie no intellie-sense/auto-complete... Notepad++ is great for this and will help you with color coordination and not auto complete... IDE's that "help" you can really hurt you if you do not understand it at a fundamental level
*Just my two cents
Edit: Then save the file accordingly and load it into your IDE and compile/validate