| String handling and find the output of Java program?
Below is the syntax for handling string in java program by using addition of string with numeric values.
class Teststring
{
public static void main (String args[])
{
System.out.println(40 + 30 + "crackyourinterview");
System.out.println("crackyourinterview" + 40 + 30);
}
}
And Output of above program is given below
70crackyourinterview
crackyourinterview4030 | | |