A fence, wall, hedge or shrubbery may be erected, placed, maintained or grown along a lot line on residentially zoned property or adjacent thereto to a height not exceeding six feet above the ground level and be no closer than three feet to a public right-of-way, except that no such fence, wall, hedge or shrubbery which is located in a required front or corner side yard shall exceed a height of four feet. Where such lot line is adjacent to a nonresidentially zoned property, there shall be an eight-foot limit on the height of a fence, wall, hedge or shrubbery along such lot line.