Question: Why is forceFrom() an instance method? Wouldnt it be better for it to be a static method that takes two Body objects as arguments?

Why is forceFrom() an instance method? Wouldn’t it be better for it to be a static method that takes two Body objects as arguments?

Step by Step Solution

3.31 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The choice between using an instance method and a static method often comes down to the design of th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithm Design Questions!