Jump to content

good way to practice java?

- - - - -

  • Please log in to reply
10 replies to this topic

#1
Cruel Hand

Cruel Hand

    Learning Programmer

  • Members
  • PipPipPipPip
  • 109 posts
  • Programming Language:Java
  • Learning:Java, Visual Basic .NET
does anyone know somewhere I can practice writing programs in java? I have a book on it but I want something that will give me applications to write so I can test my knowledge and improve it.

Also remember that I am an extreme novice at java so the applications can't be too hard.

thanks so much! :)

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
There are general problem sites like ProjectEuler.net :)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Gman

Gman

    Learning Programmer

  • Members
  • PipPipPip
  • 49 posts
Hi Cruel Hand

I too am a novice and as WingedPanther just said ProjectEuler.net is a good place if i find anything i find useful i will message you with it.

Gman

#4
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
For me when it comes to java I just try to write useful applications. Applications that you can't normally finish in a day or two. For example I am currently working on a full featured web browser, a client server chat application, a network game I call squeeze and a spider. Progress is slow and almost everyday i run into a hurdle, which forces me to learn other things. I find this way helpful.
Oh and try to help others right here this forum.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:

#5
Cruel Hand

Cruel Hand

    Learning Programmer

  • Members
  • PipPipPipPip
  • 109 posts
  • Programming Language:Java
  • Learning:Java, Visual Basic .NET

WingedPanther said:

There are general problem sites like ProjectEuler.net :)

thank you so much! I looked at the first problem and I thought it was too hard and then I thought about it some more and wrote a program for it and solved it on my first try!!!! :) :)

@Gman: alrighty :)

@fread that's a good tip, but I'm not advanced enough in java to write applications nearly as complex as that.

thanks for the input everyone :)

#6
Gman

Gman

    Learning Programmer

  • Members
  • PipPipPip
  • 49 posts

fread said:

Oh and try to help others right here this forum.

Very True :)

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Project Euler is really good at helping your problem-solving skills, which is part of why I like it. It's also VERY mathy, which is also why I like it :)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
Kushtrim

Kushtrim

    Newbie

  • Members
  • PipPip
  • 14 posts
I'd suggest you read this book http://people.cis.ks...IS200/home.html , and try to solve it's problems.... they're quite easy:D

#9
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
  • Programming Language:Java, C#, PHP
  • Learning:C, C++, C#, PHP, Transact-SQL, Assembly, Scheme
In addition to ProjectEuler, UVA Online Judge (UVa Online Judge - Home) is fantastic. The problems here range from easy to very difficult and there are A LOT of problems.

#10
Nesan

Nesan

    Newbie

  • Members
  • PipPip
  • 17 posts
Make a game, :p

#11
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US

Cruel Hand said:

does anyone know somewhere I can practice writing programs in java? I have a book on it but I want something that will give me applications to write so I can test my knowledge and improve it.

Also remember that I am an extreme novice at java so the applications can't be too hard.

thanks so much! :)

You could try doing things as you come up with ideas for them.

For example, one time I had a list of items, with each item taking up a line of text, and I needed to count the number of items. Instead of sitting there, looking at the screen and trying to not mess up the count, I decided to just write a JavaScript program that would could the number of lines in a textarea.

Other times I also wrote a JavaScript program for counting the number of characters in the text, and a program for searching for strings in the text and replacing them with different strings. I needed the replace functionality for something, I think it was for writing more programs, and also for other uses, too.

Later on, I finally decided to put the three programs together into one utility, using assembly language. The executable's search-replace functionality is not as complex/advanced as that of the separate JavaScript program, but the other functions work fine, and probably even a little better - I also added a CR and LF count parameter(/s) to the properties function. All of these programs, and more, are posted on my website.

If you ever get some sort of ideas, such as if there's some task that needs to be done on the computer but you don't want to do all of it by hand, you can try writing programs that do what you need them to, and I think that would be good practice as well.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users