Sharing objects between classes

Is it possible to use objects from one test case in another test case? I have a Printwriter and a WebDriver in Test Case A. I want to access them from test case B where I write the file. Can anyone help?