Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why method overloading and method overriding required in java?



Why method overloading and method overriding required in java?..

Answer / sonu

function overloading is used to achieve dynamic binding,  and overriding is used to achieve run time polymorphism , dynamic binding .

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

Difference between JVM and JRE?

3 Answers   Amdocs,


how an we achive multiple inhetitance in java using interface..??

2 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


What is the maximum size of array in java?

0 Answers  


Should a main method be compulsorily declared in all java classes?

0 Answers  


What do you mean by thread safe?

0 Answers  


Do you know why doesn't the java library use a randomized version of quicksort?

0 Answers  


How does compareto method work?

0 Answers  


Explain notifyall() method of object class ?

0 Answers  


What is difference between static variable and global variable?

0 Answers  


What is a thin-client application?

5 Answers   Adobe,


What are the disadvantages of object oriented programming?

0 Answers  


Categories