Question: Consider the following code snippet, which calls a method on an object: X.methodNotThere() The object referred to by x does not have the methodNot There

Consider the following code snippet, which calls a method on an object: X.methodNotThere() The object referred to by x does not have the methodNot There method defined on it. As such, this code won't work correctly. 1.) (3 pts) Assume we're working in a strongly-typed, statically-typed language. What would likely happen as a result of this mistake? 2.) (3 pts) Assume we're working in a strongly-typed, dynamically-typed language. What would likely happen as a result of this mistake
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
