Analyst Integration Question: Download Integration Programmer PDF

Can you please explain the difference between Overriding and Overloading?

Tweet Share WhatsApp

Answer:

Overriding is resolved at runtime while overloading is compile time. Also rules of overriding and overloading is different, for example in Java, method signature of overloaded method must be different than original method, but in case of overriding it must be exactly same as overriding method.

Download Integration Programmer PDF Read All 41 Integration Programmer Questions
Previous QuestionNext Question
Tell me how much time it take to retrieve an element if stored in HashMap, Binary tree and a Linked list? how it change if you have millions of records?Can you please explain the difference between forking a process and spawning a thread?