Tag Archives: Primitive Data

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);   […]

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

Strings in JAVA – JAVA 10th Class notes – ICSE JAVA Notes   STRINGS  String Class : Java Programs String class enables the programs to handle strings effortlessly. The String class hierarchy is as shown :   java.lang.Object   java.lang.String   The string class represents a character strings. All string literals in Java programs, such […]