Hi everyone! I have just registered here. Thanks in advance!
I am having probably a very basic problem, but I can't figure it out myself.
I am trying to learn
Java, I got a lot of material about it, but the java they teach are of different versions. I am running Java 6 using Eclipse, and sometimes I get stuck in a very simple exercise like HelloWord or Add2Integers...
I am trying to run an Add2Integers program, but I can't "import acm.program.*" or extend "ConsoleProgram" as the book says, also the "readInt " does not work, where says "println" only works if I use "System.out.println".
I have searched on the java website the syntax changes between the version, or what have changed between the versions, I couldn’t find anything to clarify. One of the videos I downloaded says that using a different version is not a big deal, but it is since I can’t run a simple exercise.
It is probably very simple for who knows, but it is getting me frustrated!
Thanks a lot!
CCNA. But useless in programming.