Capital One interview question

Is singleton class thread safe? Http GET, PATCH, PUT How to get datbase connection using Hibernate? If we need multiple version for same dependency in spring? How do we manage? What is optional class?

Interview Answer

Anonymous

Jun 24, 2020

Singleton is not thread safe.

4