As an example, Java and JavaScript are both object-oriented programming languages and they don’t handle polymorphism in the same manner . Although polymorphism is a core feature for object-oriented programming languages, some data-oriented languages achieve polymorphism with Entity Component System (ECS) pattern.7 May 2021