# How to use Naive Bayes for multi class problems?

I know how Naive Bayes work for classifying binary problems. I just need to know what are the standard way to apply NB on multi-class classification problems. Any idea please?

For each test example $$i$$, and each class $$k$$ you want to find: $$\arg \max_k P(\textrm{class}_k | \textrm{data}_i)$$