Can properties be called the same name if they are public but in different classes?

Hi.
I was just wondering if public functions and properties in different classes can be called the same name?
I’m assuming with public functions they can be called from anywhere so is it correct that in theory if I had two classes with a public function of the same name and called it, the engine could get confused?

Thanks.

Properties and methods are specific to each class. You can call a public function from “anywhere” but you always know what type of object you’re handling so there’s no issue figuring out which function to use.