The thinking in this post is applicable to the class as well as modules. However, in this post, I’ll use the word…