Pergunta de entrevista da empresa Envoy

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

Respostas da entrevista

Sigiloso

17 de nov. de 2016

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

Sigiloso

31 de jan. de 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