×

Loading...

a very good explaination. May I have some suggestion

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
Sign in and Reply Report

Replies, comments and Discussions: