You may call a public member method of a class if you have an instance of it, from another class. The easiest way is to pass the object into your function as a parameter. You may call a public member method of a class if you have an instance of it, from another class.