I'm just learning about dependency injection. Unfortunately, I don't have the luxury and time to learn a DI framework right now so I am attempting to do DI through some simple means.
Say I have an object A, that requires a class B, and class B requires class C. When I go to create Object A, is it best practice to create the object like
A instanceOfA = new A(new B(new C ()))
My question is Is there a better way to do this?