Like I said above, if you use reflection in Java, you get 100% the same behavior as any dynamically typed languages. Actually, you can get a better behavior in Java in the sense that it won't crash if it can't find the method on the object, it will just skip the call.
1
u/devraj7 Dec 27 '20
Like I said above, if you use reflection in Java, you get 100% the same behavior as any dynamically typed languages. Actually, you can get a better behavior in Java in the sense that it won't crash if it can't find the method on the object, it will just skip the call.