Showing posts with label String Typecast. Show all posts
Showing posts with label String Typecast. Show all posts

Sunday, June 19, 2022

 String Typecast



Problem Statement

Given an integer N, you need to typecast this integer to String. If the typecasting is done successfully then we will print "Nice Job" otherwise "Wrong answer".



static String checkConevrtion(int a)
 {
      String s=String.valueOf(a);
      return s;
     
    }

ads vert

Basic HTML Tables - Layout, HTML Tables, Attributes, Aside, Footer, Tr tag, Td tag, Th tag, Tbody

  Basic HTML Tables - Layout, HTML Tables, Attributes, Aside, Footer, Tr tag, Td tag, Th tag, Tbody < table >      < thead >    ...