Welcome to Mustang Evolution.
|
  |
|
|
|
02-17-2005, 03:05 PM
|
#1
|
|
  |
|
Help with Programming class
|
|
Race It Don't Rice It
Join Date: Jan 2004
City: Las Vegas, NV
State: Nevada
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
|
Someone please help with these assingmnets.
Exercise p2.1
Write a program that constructs a Rectangle object, prints it, and then translates and prints it three more times, so that, if the rectangles were drawn they would form one large rectangle
Exercise p2.2
The intersection method computes the intersection of two rectangles that is, the rectangle that is formed by two overlapping rectangles:
you call this method as follows:
Rectangle r3 = r1.intersection (r2);
write a program that constructs two rectangle objects, prints tehm, and then prints the rectangle object that descirbes the intersecton, what happens when the rectangles do no overlap
I need to do thes in the program called "BlueJ"
thanx for any help
Ryan
__________________
Ryan
2002 red GT mustang
GO:Flows, BBK lowering springs, KYB struts & shocks, Mac straightshot CAI, SCT chip and tune, Accufab Plenum 70mm, Motive 4.10's
Show:18x10 & 18x9 Bullitt Deep Dish Chrome Wheel's
295/35/18 & 265/35/18 Michelin Pilot Sport PS2's
tinted windows, billet grill
|
|
|
|
 
02-17-2005, 03:11 PM
|
#2
|
|
  |
|
|
|
FormerMod
Join Date: May 2003
City: Riverside County, CA
Posts: 3,404
Thanks: 0
Thanked 0 Times in 0 Posts
|
Basic
10 Print Goto Hell Wanker!
20 Goto 10
Run
:d
|
|
|
|
02-17-2005, 03:21 PM
|
#3
|
|
  |
|
|
|
I'm not worthy...
Join Date: Aug 2004
City: Baton Rouge
State: Louisiana
Posts: 10,112
Thanks: 0
Thanked 6 Times in 5 Posts
|
What are we writing this in?
|
|
|
|
 
02-17-2005, 03:33 PM
|
#4
|
|
  |
|
|
|
Pizza Lover
Join Date: Aug 2003
City: Arlington
State: Virginia
Posts: 7,608
Thanks: 0
Thanked 0 Times in 0 Posts
|
BlueJ im assuming.. never heard of it.
__________________

Don't knock me, I used to have a Mustang.
|
|
|
|
02-17-2005, 04:34 PM
|
#5
|
|
  |
|
|
|
Race It Don't Rice It
Join Date: Jan 2004
City: Las Vegas, NV
State: Nevada
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
|
__________________
Ryan
2002 red GT mustang
GO:Flows, BBK lowering springs, KYB struts & shocks, Mac straightshot CAI, SCT chip and tune, Accufab Plenum 70mm, Motive 4.10's
Show:18x10 & 18x9 Bullitt Deep Dish Chrome Wheel's
295/35/18 & 265/35/18 Michelin Pilot Sport PS2's
tinted windows, billet grill
|
|
|
|
02-18-2005, 02:08 PM
|
#6
|
|
  |
|
|
|
WTF^^...
Join Date: May 2003
City: Birmingham / Florence
State: Alabama
Posts: 27,083
Thanks: 0
Thanked 1 Time in 1 Post
|
the wonderful world of java... i remember making that crap its not hard if you have the class book it should show an example on how to do it.
__________________
2003 REDFIRE COBRA #3938 of 5082 @ 05/27/2003 1 of 414
MGW Shifter, Stingers, JLT, SS Inserts, MM FLSFC & CC Plates, SS Lines, H&R Race springs, IRS Brace, MRT Hood Struts
ME.com Member #29 - 400rwhp/380rwtq
|
|
|
|
02-18-2005, 02:14 PM
|
#7
|
|
  |
|
|
|
I need bolts
Join Date: Oct 2004
City: Dallas PA
State: Pennsylvania
Posts: 3,521
Thanks: 0
Thanked 0 Times in 0 Posts
|
Java is easy. Unfortunatley I took it last half of senior year. Yea I didn't learn much and alot didn't stick. Me and my one friend made a really niced text based blackjack game though.
OMG did we piss off teacher off in that class. Imagine 40 seniors, last quarter, last period, all in a class which they thought would be a blow off class, with the dumbest teacher in school.
__________________
|
|
|
|
02-18-2005, 02:25 PM
|
#8
|
|
  |
|
|
|
WTF^^...
Join Date: May 2003
City: Birmingham / Florence
State: Alabama
Posts: 27,083
Thanks: 0
Thanked 1 Time in 1 Post
|
java is easy when all you are doing is stupid little in/out crap .... start doing things a little deeper.... its not much diff than c but its goofy footed.... i like C++ FAR better... but cpp dont offer the internet support quite so easily.
__________________
2003 REDFIRE COBRA #3938 of 5082 @ 05/27/2003 1 of 414
MGW Shifter, Stingers, JLT, SS Inserts, MM FLSFC & CC Plates, SS Lines, H&R Race springs, IRS Brace, MRT Hood Struts
ME.com Member #29 - 400rwhp/380rwtq
|
|
|
|
|