Pergunta de entrevista da empresa PayPal

Difference between variable hiding and shadowing

Respostas da entrevista

Sigiloso

30 de ago. de 2016

Hiding : Happens during inheritance (between superclass and subclass). Shadowing : Happens within a class (between a member variable and local variable).

Sigiloso

15 de dez. de 2020

Through questions like this, interviewers are mostly trying to test your skillset (and its relevance to the role) as robustly as possible, so be prepared for multiple offshoots and followups. It could be a useful exercise to do mocks with friends or colleagues in PayPal to get a real sense of what the interview is actually like. Alternatively Prepfully has a ton of PayPal Software Engineer II experts who provide mock interviews for a pretty reasonable amount. prepfully.com/practice-interviews