Analyst Integration Question:
Download Questions PDF

Can you please explain the difference between Overriding and Overloading?

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 Interview Questions And Answers PDF

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?