How does extends work?

How should I use it and when I would use it?

I got two classes

hero_class and navigate

hero_class is for my character
navigate is for my character movement

how should i put the navigate for my hero_class

Here is my current extends for the two

public class hero_class extends MovieClip
public class navigate extends hero_class

is it going to meet each other?