Community

Return an Interface from Your Methods for Maximum Flexibility

(Peter Vogel) If I’m writing a method that returns a collection, I can, of course, declare my method’s return type using a class name, like this:

Read More - Register for Free Membership