The same charges are produced on the plastic rod and cotton fabric as a result they repel each other.
An electroscope is a scientific instrument that contains a small amount of an electrical charge on a person's body. The first electroscope with a pivoting needle is termed sensorium. The Coulomb electrostatic energy, which produces the movement of the test charge, is used by the electroscope to determine the charge.
They will oppose one another because when the plastic rod and the cotton fabric are rubbed together, they receive the same charges, and similar charges repel each other. The straws will reject each other as a consequence.
More about the electroscope device link is given below.
https://brainly.com/question/1398612
#SPJ1