Hello,
I don't think
Polymorphism calls depends RTTI.
Polymorphism and RTTI are different concepts.
What is polymorphism?
In object-oriented programming, polymorphism is the ability to process objects
differently denpending on their data type or class. For example, given a base class
shape, polymorphism enables the programmer to difine different area methods for any
number or derived classes, such as circles, rectangles , etc. No matter what shape an
object is, applying the area method to it will return the correct results.
In
java, we get an object via reference. For example, Shape shape = new Circle();
shape get the reference to "new Circle", so the will know the exact type at runtime.
But I am not sure, so please let me know when you get the answer