Results 1 to 3 of 3
- 10-08-2008, 01:06 AM #1
Confused beginner with Rectangle type question
Hello my friends,
:)
I have an exercise that says:
I am very confused and do not catch what I am supposed to do here. I am using Objects First With Java and BlueJ.Write Java statements that define a variable named window of type Rectangle, and then create a rectangle object and assign it to that variable. The rectangle constructor has two int parameters
Thank your for any kind of help. Cheers! :)
- 10-08-2008, 02:17 AM #2
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 5
i'm assuming this is part of a written assignment and assumes you have a class Rectangle already. In that case, you should look into declaring instances of classes and using constructors.
- 10-08-2008, 02:56 AM #3
Similar Threads
-
Basic Question from Networking Beginner
By JDCAce in forum NetworkingReplies: 7Last Post: 10-10-2008, 08:29 PM -
[SOLVED] Cast string type to int type
By GilaMonster in forum New To JavaReplies: 9Last Post: 09-17-2008, 10:43 AM -
Rectangle Intersection
By Gwindow in forum Java 2DReplies: 1Last Post: 04-24-2008, 03:53 PM -
help with rectangle class
By darkgt in forum New To JavaReplies: 7Last Post: 11-14-2007, 06:19 PM -
bit confused on this question
By money123 in forum New To JavaReplies: 2Last Post: 07-27-2007, 12:14 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks