B, all prokaryotic cells have cell membranes, and B is correct;
C. There are both autotrophs and heterotrophs in prokaryotes. For example, cyanobacteria belong to autotrophs, while Escherichia coli belongs to heterotrophs. C is wrong;
D. Prokaryotes have only one organelle, and ribosome, D, is wrong.
Therefore, choose: B.