SAP interview question

how to declare virtual functions