• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Project Ideas for Beginner

 
Glenn Jayasuriya
Greenhorn
Posts: 7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, i'm new to these forums.
So far i only understand some of the basic concepts.
if else, for and while loops, and primative arrays.
It's difficult to think of fun projects to do when you know so little.
Can anyone give me any suggestions.
Also i'm learning Java with a group of friends so ideas where everyone can get involved would be greatly appreciated.
We are beginning to learn about objects we just finished learning about constructors and visibility and class variables.
So any ideas on these concepts to would be much appreciated.
Thanks!
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Build a simple Poker game! ;)

WP
 
Glenn Jayasuriya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be honest i don't know how to play poker.
Any other ideas?
 
Bill Johnston
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glenn Jayasuriya wrote:To be honest i don't know how to play poker.
Any other ideas?


That could make it even more interesting ;) ... maybe you'll make an entirely new game!

Seriously, how about a Calculator? They're everywhere I know, but try to come up with one with a twist maybe. As you learn more you can add to it's appearance and functionality. I found that to be a very good exercise myself.

Or perhaps some utility programs that do things that you want to do on your computer - maybe aggregations, file parsings, whatever you want. Even if you end up re-writing the wheel book, you'll still learn and have something useful.
 
Jordan D. Williams
Ranch Hand
Posts: 51
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree.

A calculator is a good idea. That's what I am doing and so far I have learned a ton just by trying to add different functionality in it. I would say start without even getting user input just type the values for the variables and print them on the screen. Experiment with different math operations and when you output strings try to use different methods such as System.out.println(...); System.out.prin(...); and even System.out.printf(...);

Another thing you can do is to make your program display double/float values as int if they can fit in an int (i.e. if they are whole numbers). I am new myself and honestly I don't know how to do the last thing I suggested, but that's the whole point.... Experiment, make mistakes, read... but most importantly... Write code! Lots of it!
 
Bill Johnston
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jordan D. Williams wrote:I agree.

A calculator is a good idea. That's what I am doing and so far I have learned a ton just by trying to add different functionality in it. I would say start without even getting user input just type the values for the variables and print them on the screen. Experiment with different math operations and when you output strings try to use different methods such as System.out.println(...); System.out.prin(...); and even System.out.printf(...);

Another thing you can do is to make your program display double/float values as int if they can fit in an int (i.e. if they are whole numbers). I am new myself and honestly I don't know how to do the last thing I suggested, but that's the whole point.... Experiment, make mistakes, read... but most importantly... Write code! Lots of it!


To make it more fun you might want to start right out making it a GUI calculator. Sure it will make it more difficult, but it will make it more fun too. In the beginning the graphics can be simple, and as you learn you can build onto it.

PS: Nice quotation ... just don't forget Matt 7:21-26
 
Greg Charles
Sheriff
Posts: 2987
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Project Euler has a number of problems that can help you get a grasp of a language.
 
Nikhil Sagar
Ranch Hand
Posts: 216
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glenn Jayasuriya wrote:Hello, i'm new to these forums.
So far i only understand some of the basic concepts.
if else, for and while loops, and primative arrays.
It's difficult to think of fun projects to do when you know so little.
Can anyone give me any suggestions.
Also i'm learning Java with a group of friends so ideas where everyone can get involved would be greatly appreciated.
We are beginning to learn about objects we just finished learning about constructors and visibility and class variables.
So any ideas on these concepts to would be much appreciated.
Thanks!


Hey Friend I am just like you, a beginner. So, my suggestion is to write a code on a calender application.
Calender Application -- where when user inputs day,month and year the output is the day on that date.
you'll have fun.i just completed it yesterday.
if you need any help you can PM me.
 
vinayak jog
Ranch Hand
Posts: 83
MySQL Database Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several things you can do.
1. Tic tac toe game of two players (initially dont involve computer you only play both sides .... later on you can add computer apponent)
first stage it improves your design part secod part improves your coding part. You can just typein tic tac toe in google you ll get lot of info. it is the most easiest game to understand

2. puzzules .. you can go word puzzle games which sharpens your logic

you can do lot of things using simple ideas


 
Rumesh Eranga
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try some hangman, puzzle and some file sharing programs are fun to work except building calculator. Try all of them.

good luck mate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic