Assuming that integer takes 4 bytes , there can be maximum 10 digits in a integer
class GFG { static int MAX = 11 ; static boolean isMultipleof5 ( int n ) { char str [ ] = new char [ MAX ] ; int len = str . length ;