Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2008, 06:23 PM
Member
 
Join Date: Jan 2008
Posts: 1
tacosalad can only hope to improve
java programming challenge Number 1
define a class for rational numbers. represent rational numbers as two values of the type int, one for the numerator and one for the denominator your class should have two instance variables of type int call the class rational include a constructor with two arguments that can be used to set the instance variables of an object to any values. also include a constructor that has only a single parameter of type int; call this single parameter whole Number/1. also include a no-argument constructor that initializes an object to 0(that is, to 0/1). Note that the numerator, the denominator or both my contain a minus sign. send me working code to sendtomejava@gmail.com and I will post who has given me the best version of this code...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-16-2008, 07:21 PM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
What?
Are you trying to get us to work for you for free?
__________________
If your ship has not come in yet then build a lighthouse.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:42 PM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
You are right Tim. "Forum Lobby" is not the place to post such questions. I am moving this thread and giving a negative reputation for this user. You can do the same
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 08:48 PM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Off to a great start there tacosalad. The programming challenge proposal was for challenges that of an official nature, not homework problems. One example of such a challenge can be found at the SPOJ. Nice try though.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 12:19 AM
gibsonrocker800's Avatar
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 143
gibsonrocker800 is on a distinguished road
Send a message via AIM to gibsonrocker800
Damn, for a second there i was actually expecting it to be a challenge

Quote:
Originally Posted by CaptainMorgan View Post
Nice try though.
lmao. you're the best man hahahaha.
__________________
//Haha javac, can't see me now, can ya?
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 12:25 AM
gibsonrocker800's Avatar
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 143
gibsonrocker800 is on a distinguished road
Send a message via AIM to gibsonrocker800
And by the way, this is most homework assignment challenge ever. What kind of "challenge" actually tells you what constructors you need lol. It's like. Yeah, make a class that my teacher will like, whoops, i mean, contains a constructor that calls for a String lol. Oh! and make sure to send me this code so i can evaluate your code, I am a pro and i will be the judge
Come on, just be honest. If you want people to do your assignments, say so, don't lie to us.

So now, we just have to hope JavaForums accepts my idea about the challenges section of the site.
__________________
//Haha javac, can't see me now, can ya?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java networking programming (II) Java Tutorial Java Tutorials 0 12-27-2007 08:19 PM
java game programming gammaman New To Java 1 12-25-2007 03:01 AM
Java networking programming (I) Java Tutorial Java Tutorials 0 12-24-2007 09:21 PM
Java Programming JavaForums Java Tutorials 0 07-29-2007 01:10 AM
The Million Musician Challenge 0.821 levent Java Announcements 0 05-25-2007 09:39 AM


All times are GMT +3. The time now is 01:23 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org