Login with  Log in with facebook
Hiring Manager? SIGN UP HERE
0

we can inherit the super class  methods in a child class but is it possible that we can do it reverse of this process....

Chitta Manonmani
09/03/2011 at 11:39
2 Answers
1
0

Hi Chitta,

Can you tell about specific need for it. Sometimes a runtime instance may be referred as Parent but actually is child in that case it will be using child class method. e.g.

Vehicle vehicle = new Car();

vehicle.drive(); 

Rishi Yadav
09/03/2011 at 16:41

2
0

yes

Aashish Jha
09/05/2011 at 00:52

If you want to post any answer to this forum then you need to log in.
Schedule a Demo

Schedule a Demo with us

Name *
Email *
Phone *
Company *
Details