In the context of electric charge, which of the following statements is correct?
A. Protons and electrons both carry a positive charge.
B. Like charges attract each other, while opposite charges repel each other.
C. Electric charge is measured in joules.
D. Conductors do not allow electric charges to move freely.