954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Learning Java

Hey,

I've recently started to learn Java with a little prior experince in C++. Only the basics.

I was just wondering if there any pointers for getting this language down. I'm talking about stuff that I won't pick up from some book or exercise. Something you've all come across in the learning process.

JakeCourtney
Light Poster
27 posts since Sep 2006
Reputation Points: 11
Solved Threads: 1
 

Java's a big ol language. There's so many things you can do with it.

There are no specific pointers. You learn them as you program and as you integrate with public forums such as these.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Java's got only one pointer you need to worry about, and that's the null pointer :)

Don't get trapped in learning a tool instead of learning the language (so don't start with heavyweight IDEs and stuff).
Don't get trapped into learning some external libraries before you know the language (we don't want kids who never programmed Java before asking questions about EJB, Servlet, Hibernate, Spring, Struts, etc. etc.).
Don't get sidetracked into thinking Java is just like C++ because of the similarities in syntax, it's not.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

i have recently attended 2 courses in programming in J# and i was wondering if anyone with past experience could guid me in the right direction...'cos im confused, there's so much to learn...

Cheers,
lol_hacker101

lol_hacker101
Junior Poster
150 posts since Sep 2006
Reputation Points: 14
Solved Threads: 0
 

you should start by not hijacking other peoples' threads.
Next you should continue by posting in the correct forum.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 
Hey, I've recently started to learn Java with a little prior experince in C++. Only the basics. I was just wondering if there any pointers for getting this language down. I'm talking about stuff that I won't pick up from some book or exercise. Something you've all come across in the learning process.




I think the first thing is learn the keywords, such as,int
float
double
long
null
String
static
There are several more keywords to learn.

After you learn them get to know what they do , their meaning, and how to implement them into your programming to get the desired results.

Also remember that Java is Object oriented and a case-sensitive language.

That is how I started anyway.

Banderson
Junior Poster in Training
66 posts since Aug 2004
Reputation Points: 17
Solved Threads: 8
 

I'm just not sure which method of learning works best. The total excersise or just reading a bit, and playing with the code.

JakeCourtney
Light Poster
27 posts since Sep 2006
Reputation Points: 11
Solved Threads: 1
 

If you are just starting to learn Java try picking up the book "Fundamentals of Java by Lambert/Osborne" It starts out real simple and builds.

Also cheak out
http://java.sun.com/j2se/1.5.0/docs/api/index.html

And if you want a good program to code in try Eclipse

tjl30
Newbie Poster
11 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

Well,
tj30, i can't download or run eclipse for some reason or another....and yes, i know it's great. my director specially recommended it.. and i know what it is and what it looks like...it's almost the only free J# publishing program, and the best, too.

lol_hacker101

lol_hacker101
Junior Poster
150 posts since Sep 2006
Reputation Points: 14
Solved Threads: 0
 
Well, tj30, i can't download or run eclipse for some reason or another....and yes, i know it's great. my director specially recommended it.. and i know what it is and what it looks like...it's almost the only free J# publishing program, and the best, too. lol_hacker101



Well if you can't download eclipse try looking for help at there website http://www.eclipse.org/

tjl30
Newbie Poster
11 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

nor through thread hijacking...

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

Hey everybody!
I am a beginner in Java and need help
Does anyone know how to build a trie structure from a matrix i want the code if it's possible
thx

Vanessa.KH
Newbie Poster
2 posts since Apr 2008
Reputation Points: 6
Solved Threads: 0
 

I think you missed one important part of the forum rules and specialy Seftware Development section, which says
Also, to keep DaniWeb a student-friendly place to learn, don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well.

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You