Calculating Area for Classified classes

I processed on sentinel 2 and created an NDVI file and also Classified file using KD KNN classification and I would like to calculate the Area for the classified classes is there a way to do it using SNAP ? Thank you

You can use the mask manager for this. First you define the pixels of the class with a logical statement and then you compute its area. An example its given in this tutorial: Landcover classification with Sentinel-1 GRD

Video tutorial about the Mask Manager:

Thank you for your reply