I have sold a few cars out of state and even out of country.
I recommend wire transfer, by far the safest type of transaction.
I have also done a bank check transfer.
Basically the buyer and I used the same bank. We met at the bank. The bank issued him a check in my name. I then endorsed the check and deposited it in my account.
Of course this only works if the buyer and seller use the same bank.