Flash drives store data in tiny capacitors. If the capacitor is charged up, it’s a one and if not, it’s a zero. These tiny capacitors are not connected to a circuit to drain them, when the device is turned off, so they can hold their charge. Electrons are a physical thing, and if you squeeze a bunch of them into a tiny place and there is no way for them to get out, they have no choice but to just sit there.
Latest Answers