Sobes.tech

What is the difference between composition and inheritance? Which is preferable?

Senior
174

What is String, why is it immutable? What happens during concatenation?

Senior
160

What is StringBuilder and how does it differ from String and StringBuffer?

Senior
158

Explain the principles of SOLID and why they are needed in development.

Senior
156

How is the hashCode of an object generated by default in Java?

Senior
152

What are generics and why are they needed?

Senior
134

When should the Dependency Inversion principle be applied, and when not (related to YAGNI)?

Senior
132

Tell me about equals and hashCode: the contract, why hashCode is needed

Senior
122