Nancy Bradley

Ranch Hand
+ Follow
since Feb 25, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nancy Bradley

Thank you
Nancy
19 years ago
Hello, I am a little confuse, Is inheritance the same as "is a" relationship and composition the same as "has a" relationship?
Also I read about polimorphism, but I do not hava it clear. Can anyone give me an example?
Thanks for your time
Nancy
19 years ago
Got two questions!
g.fillRect(140,100,20,70);
140 is the starting point in x
70 is the y point
modifying 20 I can make it wider
100 moves it up
How can I reduce the height???
How can I get brown color??? I can not find it.
Thanks in advance for your time
Nancy B
19 years ago
Hi I got five errors after adding another figure. Did I forget to include something else in the code?.
Cannot resolve symbol
BufferedImage
Cannot resolve symbol
constructor Rectangle
Cannot reolve symbol
variable g2D
Thanks for your help
Nancy

[ April 25, 2004: Message edited by: Marilyn de Queiroz ]
19 years ago
Thanks a lot.
Nancy
19 years ago
Hello,
I have to write a program that display color shapes.
I just started and try to compile what I had and got an error message.
Cannot resolve symbol
method setcolor(java.awt.Color)
g.setcolor(Color.green);
Cannot resolve symbol
method setcolor(java.awt.Color)
g.setcolor(Color.cyan);
I do not know what is wrong as it does not display any error for the other colors and they are written the same.
Any help would be appreciate it.
Thanks
Nancy
19 years ago
Thank you very much, your explanations made the concept clear.
Nancy B
19 years ago
Can some one tell me where can I find a clear explanation on how to call superclass constructors? implicit and explicit calls?
Thanks
Nancy B
19 years ago
I think I got the table going.
Thanks a lot
Nancy B
19 years ago
I have an assignment where I should write an abstract class which will be the base to calculate some points of a competition. The points will be assigned different depending on weather the person is a boy,girl,man or woman.
I have 2 boys, 3 women,2 girls and 2 men. I just type the number of item each one collected, but I was wondering if there is a better way of doing it, maybe with an array for each group? Can I have it in the test class,or has to be in each individual class?
Also I am suppose to create a table how can I get the vertical lines?
Thank you in advance for your help
Nancy B

[ edited to break really long lines and to remove the evil tab character -ds ]
[ April 19, 2004: Message edited by: Dirk Schreckmann ]
19 years ago
I have an assignment where an abstract class Reward should be created.There will be a competition between girls,boys, women and men. They will acumulate points base on # of cans collected, books read and volunteer work, but the formula to calculate the points is different for each group.
This is what I have so far. Can anyone tell me what I am missing, and why the test program does not compile without errors?
I know this is long I appreciate any help.
Thanks
Nancy
19 years ago
Thanks, I will try again
Nancy
19 years ago
I have an assignment where I should write a Java abstract class which will be the base to calculate some points of a competition. The points are assign different depending on weather the person is a boy,girl,man or woman.
I wrote the abstract class and then a class for each one of the groups. When I tried to write the test I get error messages for each of the groups that says:
cannot resolve symbol
constructor Girl(java.lang. String, java.lang.String)
This piece is not finish yet, I just do not know what to do.
If anyone knows where I can find a good reading on abstract class that will be helpful too. I do not have the concept clear.
Any help will be gratly appreciated.
Thanks,
Nancy
This is the code I wrote:
19 years ago
Thank you very much
Nancy B
19 years ago