Functions and Classes

Say, I have:
[LIST]
[]A main class
[
]A sub class
[*]A function defined in the sub - class
[/LIST]
How would I call said function from the Main class?

Help would be much appreciated.

Thank you,

CCG1993