Check out example codes for "how to create a integer in java". It will help you in understanding the concepts better.

Code Example 1

int name = 5;
// replace "name" with the name you want and "5" with the value you want

Learn ReactJs, React Native from akashmittal.com