For the following compounds, the correct statement(s) with respect to nucleophilic substitution reaction is (are)
A. Compound IV undergoes inversion of configuration
B. The order of reactivity of I,III and IV is IVgtIgtIII
C. I and III follow `S_(N)1` mechanism
D. I and II follow `S_(N)2` mechanism