Why we need polymorphism & encapsulation in Java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we need polymorphism & encapsulation in Java ?

23rd Jan 2020, 1:31 PM
Kabir
Kabir - avatar
4 Answers
0
El Polimorfismo es uno de los 4 pilares de la programación orientada a objetos junto con la Abstracción, Encapsulación y Herencia. se utiliza en la POO para referirse a la propiedad por la que es posible enviar mensajes sintácticamente iguales a objetos de tipos distintos"
23rd Jan 2020, 1:43 PM
agustin damore
agustin damore - avatar
0
It's too big an answer to be discussed in detail so kindly read this or any other online reference for better understanding. https://www.nerd.vision/post/polymorphism-encapsulation-data-abstraction-and-inheritance-in-object-oriented-programming Come back if you do not understand something specific.
23rd Jan 2020, 2:28 PM
Avinesh
Avinesh - avatar
0
I don't understand in technically can you elaborate in simple language with real life example ???
23rd Jan 2020, 4:30 PM
Kabir
Kabir - avatar
0
It will need some reading but you will slowly understand it. I hope someone will explain it in detail if they find time. https://www.sololearn.com/discuss/860433/?ref=app https://www.sololearn.com/discuss/878557/?ref=app
23rd Jan 2020, 4:32 PM
Avinesh
Avinesh - avatar