Check out example codes for "create object and call method in java". It will help you in understanding the concepts better.

Code Example 1

MyClass **insert_name** = new MyClass();
        insert_name.**method_name**();

Learn ReactJs, React Native from akashmittal.com