Java, Spring, Microservices, Interview, Coding.
setter-methods approach. I won’t say everything has to be initialised in the constructor because different approaches exist, like lazy-evaluation which can be used even with immutable objects. Topic: SQL Query Scenario — we have one table which has name and salary, write a query which gives me two