• 2022-06-18
    下列关闭数据库连接的顺序正确的是:( )
    A: 先关闭Statement,再关闭ResultSet,最后关闭Connection
    B: 先关闭ResultSet,再关闭Statement,最后关闭Connection
    C: 先关闭ResultSet,再关闭Connection,最后关闭Statement
    D: 先关闭Statement,再关闭Connection,最后关闭ResultSet