(a) No person shall erect or maintain any fence charged with electrical current which fence abuts or is adjacent to any sidewalk.
(b) No person shall erect or maintain a barbed wire fence which abuts or is adjacent to any sidewalk. This subsection (b) does not prevent the placement and use of not more than three strands of barbed wire on top of a fence other than a barbed wire fence, provided such strands are not less than seventy-two inches from the ground.
(c) Whoever violates this section is guilty of a minor misdemeanor.