Check out example codes for "popular Google Doodle games". It will help you in understanding the concepts better.

Code Example 1

short myShortMin = Short.MIN_VALUE;
        short myShortMax = Short.MAX_VALUE;
        System.out.println("myShortMin= " + myShortMin);
        System.out.println("myShortMax= " + myShortMax);
        //Overflow value in case of Maximum
        System.out.println("Busted Max value= " + (myShortMax + 100));
        //Underflow value in case of Minimum
        System.out.println("Busted Min value= " + (myShortMin - 100));

Code Example 2

system.out.println();

Code Example 3

console.log('popular google doodle games);

Learn ReactJs, React Native from akashmittal.com