5 ms·
For local variables within the body of a method it doesn't really matter. As long as the method signature is expressed in interfaces, you should be able to use
by involans 11y ago
For local variables within the body of a method it doesn't really matter. As long as the method signature is expressed in interfaces, you should be able to use whatever implementations you want within the method body.