Tag Archives: Integer Number

toString() JAVA – JAVA 10th Class notes – ICSE JAVA Notes

toString() JAVA – JAVA 10th Class notes – ICSE JAVA Notes toString( ) : toString( ) function converts the primitive data type to the String type. This conversion is important to apply the string functions on digits of the numbers.   Integer type to String type Conversion : Syntax : String res = Integer.toString(int);   […]

Length in JAVA – JAVA 10th Class notes – ICSE JAVA Notes

Length  in JAVA – JAVA 10th Class notes – ICSE JAVA Notes length() : length() function is used to find the length of the String, that is the number of characters present in the String. It returns a Integer Value, as length is a integer number. Syntax : int var = str.length(); Example : String […]