You are viewing a single comment's thread. Return to all comments →
hey, @srikanthdikalla i had the same solution as your's but its not working ,gives compilation error
can anyone please explain this?
if(x>=Byte.MIN_VALUE && x<=Byte.MAX_VALUE)
if(x>=Short.MIN_VALUE && x<=Short.MAX_VALUE)
if(x>=Integer.MIN_VALUE && x<=Integer.MAX_VALUE)
if(x>=Long.MIN_VALUE && x<=Long.MAX_VALUE)
In my code also the test case is not satisffying...........
I guess you are missing space after *
you must use only if
not else if s