This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You can't tell for sure. The object referenced to by c1 originally might not be eligible for garbage collection, because it might have been assigned to a different reference inside f(). Also, we can't tell if there are additional objects that could be garbage collected inside MyClass without knowing the structure of the class.
All code in my posts, unless a source is explicitly mentioned, is my own.