Question: Given: Class P Class Q extends P Both class P and class Q have a method agitate() The principle that determines the appropriate method to

Given: Class P Class Q extends P Both class P and class Q have a method agitate() The principle that determines the appropriate method to invoke when a call from an object of one of these classes such as p.agitate() or q.agitate() is made is: encapsulation substitution override method chaining polymorphic method dispatch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
