They are called marcato, or martele which means to hammer. Traditionally it's played staccato, with a heavy attack but some composers use it just to get the heavy attack, without staccato. If you are playing a classical piece it's better to play with the staccato. I know that some editors like Schenker replace staccatos with marteles in their editions, for example his Beethoven sonatas editions. If you are composing; it's best to describe it in the notes.