当开关S1闭合、S2断开时,电压表并联在了L1的两端,故L1两端的电压为3V;当S1断开、S2闭合时,电压表并联在了电源的两端,故电源电压为4.5V,则L2两端的电压U2=U-U1=4.5V-3V=1.5V.故选:C.