Posts related to extend

Unique ID for Java classes

As I was writing some Java code for my finale dissertation, I wanted to give my objects an unique ID in order to distinguish them easily. I thus wrote the following abstract class that does the job well for me: package motd.utils;   /** * Makes a class identifiable with an unique ID for its ob ...