Recently I came across a line like this
public final static int DELETION_MASK = 0x01;
why is it not like
public final static int DELETION_MASK = 1;
Is there any advantage in using the first approach other than 0xA and upper limit hexadecimals can be converted with ease?? In this case its just a constant representing 1.