public virtual class parent {
public static void doStuff(){system.debug('stuff');}
}
public class child extends parent{}
When I call
child.doStuff();
I get this error: Method does not exist or incorrect signature: child.doStuff()
Are static methods not inherited in salesforce or am I doing something wrong?
virtual
can only be used on methods. – Seafowl