New course! Every coder should learn Generative AI!
Try a free lesson+ 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 Answers
+ 6
I am not sure if they are same but
They behave same.
Although, JavaScript also have static methods.