+ 4
Is prototype in java script and static in java are same ?
Because: If we create a method in prototype there is only one method balance are just reference same thing goes in static in java
2 Respuestas
+ 6
I am not sure if they are same but
They behave same.
Although, JavaScript also have static methods.