bugshaw: (Default)
posted by [personal profile] bugshaw at 06:24pm on 05/11/2005
Typing up my student's lecture notes this evening (Java objects and classes), I found the following come out onto the page:

mum is an object of the Parent class; son is an object of the Child class.
The mum object sends a message “Pull up your socks” to the son object, who performs the pullUpSox() method. son’s socks are private to him – mum cannot access his socks directly.

Well, it made me laugh.

Reply

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

September

SunMonTueWedThuFriSat
  1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21 22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30