Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

String Manipulation In Java

Loading...

Published in: Java And J2EE
1,108 Views

Format and Description On String Manipulation.

Subhadeep B / Kolkata

2 years of teaching experience

Qualification: B.Tech/B.E. (TECHNO INDIA COLLEGE OF TECHNOLOGY - 2013)

Teaches: Mathematics, Biology, Physics, Science

Contact this Tutor
  1. hu can use wrapper class to convert frotn stnng type to chatåctérst Junction in the following way: any type by [he the ftion •iss • equal: ' e 24.4", int float f = Floåt.parseFioåt(p): . J Conversion (from e primitive (int. StrifiÅ:. Integer.tOString(aY, float f = 12.48; String m = Float.toString(ij; double d 18.6824: Siring m Proa. 60 : Write a program in Java to enter a , 01 iginal number and the revecsed e.g. Original Number = 345 then, reversed number = 543 Hence, The sum = 888 import java.io.* croandyse public class sum public static void main(String args[ //Conversion from primitive type to String //by Vijay Kumar Pandey & Dilip Kumar L)ey InputStreamReader read = new InputStreamReader(Sys1em.in); BufferedReader in = new BufferedReadcr(read); int System.out.print!n("Enter a number"); n=Integer:parseInt(in.readLine()); a=w. length( 2018 < - 1600:27—