Luxoft interview question

Inheritance java8 threading angular react