Frage im Vorstellungsgespräch bei Allstate

class vs static function OOPs concepts Struct And class Some Code example and asked what would be the outcome.