• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Programming  RSS feed

 
Leslee Rivera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I recently began my Computer Science major and, of course, Java is one of the languages I need to learn before anything else. At first, I understood everything very well, then as I got to arrays and objects, I was so lost. I searched around the web and the main thing I saw in the comments was to learn to role play the COMPUTER. I follow my programs along and check for errors and I cannot seem to find them, when Eclipse is telling me there are errors. Sorry, I am rambling here... What I want to ask here is what would you advice me to do to learn this better? To retain this information by way of understanding and not just memorizing. I am having a crazy hard time with Java but I really like it and wish to understand it more.

Thank you for your time,
Leslee
 
Knute Snortum
Sheriff
Posts: 4276
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

If you want to practice simple programs (snippets really) then CodingBat.com might be a good place to start.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16059
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Yes, role playing the computer is a good way to understand how a program works - go through it line by line, imagine what happens at each line, and keep the values of the relevant variables in mind. You can also use a debugger (which most IDEs have) to step through the code line by line as it is actually running.

And Knute is right, to really get this in your fingers (is that a valid expression in English? I literally translated it from Dutch) you should practice it a lot. In that regard it's a bit like learning to play a musical instrument.

As you learn more, you'll see that the world of Java software development is huge - there is a huge number of frameworks and libraries. Don't worry about having to learn everything, because there's simply too much, nobody is an expert in everything that exists in the Java programming world.
 
Knute Snortum
Sheriff
Posts: 4276
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to really get this in your fingers


I like it. Seems valid to me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!