Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.507 :

Posted: Thu Jul 21, 2011 11:24 am
by ETS User
Can u override run()?

Re: About Question com.enthuware.ets.scjp.v6.2.507 :

Posted: Thu Jul 21, 2011 2:37 pm
by admin
Yes, certainly. It is like any other method in this respect.

Re: About Question com.enthuware.ets.scjp.v6.2.507 :

Posted: Sat Jul 23, 2011 12:54 pm
by deepaarun@live.com
i mean to say can i override run() twice in a program?

Re: About Question com.enthuware.ets.scjp.v6.2.507 :

Posted: Sun Jul 24, 2011 9:08 am
by admin
I am not sure what you mean by "in the same program". You cannot have the have the same method (i.e. methods with same signature, where signature means method name and parameter list) twice in the same class.

There is no concept of a program in java as such.