Question d’entretien chez Envoy

In Swift, what's the practical difference between struct and class?

Réponses aux questions d'entretien

Utilisateur anonyme

17 nov. 2016

With Swift, classes get inheritance and are passed by reference, structs do not have inheritance and are passed by value.

Utilisateur anonyme

31 janv. 2021

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the Envoy Mobile Developer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews