In c# you can setup properties like this:
public int CustomerId {get;set;}
Which sets up an automatic property called CustomerId, but I was wondering if there was anything similar in Java?
In c# you can setup properties like this:
public int CustomerId {get;set;}
Which sets up an automatic property called CustomerId, but I was wondering if there was anything similar in Java?