Hi, is there anyway to use a variable named id lik...
# codereview
b
Hi, is there anyway to use a variable named id like so:
var id:Int = -1
and implement an interface with a getter for the same name? I e a kotlin interface
Copy code
interface IDable {
	fun getId():Int
}
Or a java interface
Copy code
public interface IDable {
	int getId()
}