Does Java have Automatic Properties?

Viewed 12710

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?

5 Answers
Related