Differentiate between overloading and overriding.
Answer / Pravesh Kumar Tripathi
Method Overloading is a technique in OOP where multiple methods with the same name but different parameters are defined within a class. Method Overriding, on the other hand, occurs when a derived class provides a specific implementation for a method that already exists in its base class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is method overriding?
What are the features of encapsulation ?
explain the difference between operator overloading and function overloading.
What is single and multiple inheritance?
Explain about a class?
What is the abstract method modifier?
How do you represent static members and abstract classes in Class Diagram?
2 Answers InfoAxon Technologies, Protech,
What are the main features of oops?
What is the default access modifier for a class,struct and an interface declared directly with a namespace?
Every object has : state, behavior and identity - explain
2 Answers InfoAxon Technologies, Protech,
What is a try/ catch block?
Explain what an object is.