  Absolute coset leaders were first proposed by the authors which have
advantages in constructing binary LCD BCH codes. As a continue work, in this
paper we focus on ternary linear codes. Firstly, we find the largest, second
largest, and third largest absolute coset leaders of ternary primitive BCH
codes. Secondly, we present three classes of ternary primitive BCH codes and
determine their weight distributions. Finally, we obtain some LCD BCH codes and
calculate some weight distributions. However, the calculation of weight
distributions of two of these codes is equivalent to that of Kloosterman sums.
