Assuming adjacent means they share an edge, then a trivial solution where some white squares exist is
just paint everything except the first and last rows black. Then each white square in the first and last rows is touching exactly one black square.
If adjacency includes squares that touch diagonally, then something simple like these should work: