I’m already using Spring with all my might , where for every “fart” there’s an @autowired. Everything works great, it’s convenient and simply amazing. But at one point I realized that I didn’t understand anything) How does it work? Colleagues! Help me figure it out... I'm interested in an example for dummies... How can I inject an instance of one class into a field of another without Spring? Maybe you can give a simple link, or explain in the comments.
BigVOVA
Level 30
GO TO FULL VERSION