Welcome to the ranch!
You can't override the test() method in the Super class, since the method isn't a member of that class. However, you can of course use subclasses of Sub in your Super class, which use an overridden test() method. Like
Hope this helps.
Btw. please use code tags too, it makes reading your code samples easier