What does this mean?

when i compile and run my file ( in java), i get this message in command prompt
"Note : DigitalClock.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for detail. "
what does it mean and how can i correct it?