a very good explaination. May I have some suggestion

long-river (long-river)
for your example so that it looks better?

change

//other code
Child child= new Child("Mark");
child.smile();
// other code, we assume we have a class Child defined somewhere else

to

//other code
Child realChild= new Child("Mark");
realChild.smile();
// other code, we assume we have a class Child defined somewhere else
(#8057@0)
2000-9-5 -05:00

回到话题: Java Q&A (2) (compiled by jabber)

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=8057