A steals property that is in Z's possession and carries a loaded pistol concealed under his clothing with the intent to use it against Z if Z resists. Under which section of the Penal Code has A committed theft?
Explanation
Section 382 of the Penal Code deals with theft committed by using a weapon or causing fear of injury, which applies here as A carried a loaded pistol to intimidate Z during the theft. Section 378 defines general theft, while Section 381 pertains to theft by a person in possession of property. Therefore, the correct section is 382.