Advertisements
Advertisements
प्रश्न
Write the output of the codes given below.
String ra ="Failure is not failing.";String rb ="Failure is, giving up.";
int p1 = ra.indexOf(′ b'); // b indicates one space
String ca = ra.substring(0, p1); boolean v = rb.startsWith(ca);
System.out.println(" ca = "+ ca); System.out.println(" V =" +v);अति संक्षिप्त उत्तर
Advertisements
उत्तर
ca = Failure
V = true
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
