On Friday, 17 April 2015 at 19:17:32 UTC, Jesse Phillips wrote: > On Friday, 17 April 2015 at 14:05:26 UTC, Ozan Süel wrote: ... > You'll need to use a constructor: > this() { > myid = randomUUID(); > } That's it. Thanks Ali & Jesse. I have to put it in a constructor. Regards, Ozan