Check out example codes for "java get multiples of a number". It will help you in understanding the concepts better.

Code Example 1

if (possibleMultiple % number == 0) { ... }

Learn ReactJs, React Native from akashmittal.com