0

Whyyyyyyyyyyyyyyyyyyy????

we use method overloading for only readability..if yes,,then there is no real life example as it is only beneficially for developers.. now what is the use of method overriding....what we do in the method overriding ..we use same method name in the subclass and call the subclass method..but why all those drama as we are writing completely new code...why we extend super class for this and why we same method name..in jvm also they provide some method which we are overriding..as we are overriding why they built all those function before..only to tell us that u can use this method name only ??? actually i m getting prepared for interview ,,,but as i love programming all those typical question comes in my mind

15th Jun 2017, 4:46 PM
Somnath Ghosh
Somnath Ghosh - avatar
1 Odpowiedź
0
how?
17th Jun 2017, 5:21 PM
Somnath Ghosh
Somnath Ghosh - avatar