Y
Hacker News
new
|
ask
|
show
|
jobs
by
involans
3748 days 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.