objetos | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

objetos

Es lo mismo la definicion de objetos en javascript que en java ????

1st Dec 2017, 1:32 AM
Percy Pedro Jesús Tejada Donayre
Percy Pedro Jesús Tejada Donayre - avatar
2 Respuestas
+ 1
thanks you
9th Dec 2017, 9:40 PM
Percy Pedro Jesús Tejada Donayre
Percy Pedro Jesús Tejada Donayre - avatar
- 1
No. Java requires the whole definition within the class at compile time. JavaScript doesn't even come close to having a class container and properties/methods can be added on the fly long after instances exist.
1st Dec 2017, 2:01 AM
John Wells
John Wells - avatar