Re: [netrexx-course] Lesson 1?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [netrexx-course] Lesson 1?

J. Pedone
On Sun, 23 Aug 98 15:58:34 -0400, Tom Stevic wrote:

> on 08/22/98 dIon Gillard/Multitask Consulting/AU<[hidden email]>
>stated:
>
>
>
>>| A question.
>>| >
>>| > In the HelloApplet, line 7 says:
>>| >  method paint(g=Graphics)
>>| >
>>| > What exactly does the statement g=Graphics do?
>>| >
>>| > _________________________________________________
>
>>What was the question??
>
>
>Should I read that line to say:
>
>define a method called paint that gets a value that is passed to it that
>we will call 'g' and that value is of type Graphics?
>

It seems to work that way but when written as it is isn't "g" a
required parameter since no default is given ?
In this case paint(g) doesn't seem to need or want any arguments.
Anyone know why ?

j.



[hidden email]
http://www.flash.net/~jpedone


____________________________________________________________
List Site: http://www.findmail.com/list/netrexx-course/ 
To unsubscribe, send to [hidden email]

FREE group e-mail lists at http://www.findmail.com