What will be the output of the following program?
public class Hero {
public static void main(String args[]) {
float ram = 2.5f;
float charan = 3.6f;
String str = Float.toString(ram);
System.out.print(str + "\n");
String str1 = Float.toString(charan);
System.out.print(str1);
}
}