WebDriver.close() will simply close open window. If its last window open, it will call webdriver.quit.
WebDriver.quit and WebDriver.dispose are same. WebDriver.quit will close all open windows and close the session as well. We do not use webdriver.dispose in Java