Here is a simple inheritance in UML :
I used to believe it was possible, with UML, to represent it in a "shorter" version, like this :
But the CASE tool I'm using right now does not allow me to use the latter. I checked the internet and various books I own and as I didn't find anything about it, I started to wonder if the "shorter" version is correct regarding the UML spécifications.