Word Study
aha
CIDE DICTIONARY
aha, interj. [Ah, interj. + ha.].
An exclamation expressing, by different intonations, triumph, mixed with derision or irony, or simple surprise. [1913 Webster]
aha, n.
A sunk fence. See Ha-ha. Mason. [1913 Webster]
OXFORD DICTIONARY
aha, int. expressing surprise, triumph, mockery, irony, etc.
Usage
The sense depends much on intonation.
Etymology
ME f. AH + HA
For further exploring for "aha" in Webster Dictionary Online