Morgan Stanley Interview Question

It’s more related to core Java, multithreading, overrriding