Patricia Shanahan said:
gildir wrote:
...
Don't take this into account unless you intend to start
school in the next couple of years. In that case, check the
courses for the schools you are considering.
It would be very frustrating to pick a language based on
this and find the school you went to required Java but
didn't care about C.
Patricia
Hi,
When programming in Java you'll find two completely different
approaches.
1) procedural programming
2) OO programming.
1 is very similar in C and Java. If you're able to design an
algorithm, it will work exactly the same in both languages.
2 is much more far fetched. Count a good year of hard work before you
can imagine a class hierachy of your own.
Now there is a new, ( up to you to decide if it's good or bad
When starting Java, you'll probably be confronted with AWT and SWING.
That is you'll find it very easy to create a GUI with buttons and
fields to enter data in. But the trick is you'll watch the source
listing a thousand times and you won't be able to tell where the
cursor sits in your code.
So my advice is to learn a little bit of Assembler beforehand with the
good old debug program from the dos command window (cmd ). Just
setting an area in memory with some value, adding 1, read it back in a
register and watch the result with the "r" commands. Also work on the
Interrupts like INT 21.
There is an article on debug that you can find with a google search
that will even tell you what debug does while he is waiting for a
command.
Another piece of advice: If you want to see your Java code running one
step at a time, you'll need the Eclipse debug window.
At the moment the most advanced Java sdk is 1.5 but unfortunately
Eclipse is a bit back so pick Java SDK 1.4 to install on your machine
to make it Eclipse 3 compliant.
Finally note that there is a hell of a good text book from Deitel
(
www.deitel.com)it's titled "Java How To Program 5th" ( the one that
deals with Java 1.4 ) available from Prentice Hall, loaded with
exercises and a separate solutions manual.
A nice feature is that if you're stuck at any stage you can e-mail
your problem to (e-mail address removed) and the answers will be there next
day.
Good luck!