method overloading

In Java, a method can be overloaded in the same class or in a subclass; but in C++, the function in superclass will be hidden by the function in subclass.