About 50 results
Open links in new tab
  1. method overriding in Java - Stack Overflow

    Oct 9, 2009 · Method overriding in Java is a concept based on polymorphism OOPS concept which allows programmer to create two methods with same name and method signature on interface and …

  2. C++ Overriding... overwriting? - Stack Overflow

    Jan 19, 2011 · 0 C++ Function Overriding. If derived class defines same function as defined in its base class, it is known as function overriding in C++. It is used to achieve runtime polymorphism. It …

  3. overriding - Overloaded and overridden in Java - Stack Overflow

    May 13, 2012 · Overriding is kind of the same principle except the compiler can address the overriden function with the super keyword. So can you override an overloaded function? Yes, since the …

  4. Java overloading vs overriding - Stack Overflow

    May 28, 2018 · Overriding, which is what I think you mean by "overwriting" is the act of providing a different implementation of a method inherited from a base type, and is basically the point of …

  5. terminology - Overwrite or override - Stack Overflow

    Dec 28, 2011 · The difference between (method) overriding and (method) overwriting lies in how a method of a subclass re-implements the original method that was implemented in the class from …

  6. What issues should be considered when overriding ... - Stack Overflow

    Aug 26, 2008 · What issues should be considered when overriding equals and hashCode in Java? Asked 17 years, 5 months ago Modified 9 years ago Viewed 613k times

  7. oop - Java overloading and overriding - Stack Overflow

    Oct 3, 2010 · Method Overriding means defining a method in the child class which is already defined in the parent class with same method signature i.e same name, arguments and return type. Difference …

  8. Polymorphism vs Overriding vs Overloading - Stack Overflow

    Oct 1, 2008 · Polymorphism also includes inheritance and overriding methods, though they can be abstract or virtual in the base type. In terms of inheritance-based polymorphism, Java only supports …

  9. overriding - How to override equals method in Java - Stack Overflow

    I am trying to override equals method in Java. I have a class People which basically has 2 data fields name and age. Now I want to override equals method so that I can check between 2 People object...

  10. overriding - Override and overload in C++ - Stack Overflow

    Jan 9, 2009 · Over riding a function is entirely different, and serves an entirely different purpose. Function overriding is how polymorphism works in C++. You override a function to change the …