primary constructor naming convention

Hi!
I was wondering if there is a naming convention for primary constructor parameters on a class. Let's say I have class Point(int x, int y) and now I want to add a method to this class with an int x parameter. AFAICT I then can't really resolve the name conflict between the two in the method body, so I was wondering if I should rename the primary constructor parameters to e.g. _x and _y or if I should instead rename the method parameter to avoid the conflict.
Thanks!
Was this page helpful?