Check out example codes for "c++ call method in same class". It will help you in understanding the concepts better.

Code Example 1

class Example{
  void A(){
    //do something
  }
  
  void B(){
    this->A();
    // or
    A();
  }
}

Learn ReactJs, React Native from akashmittal.com