Advertisements
Advertisements
प्रश्न
If String x = "Computer";
String y = "Applications";
What do the following functions return?
- System.out. println(x.substring(1,5));
- System.out.println(x.indexOf(x.charAt(4)));
- System.out.println(y + x.substring(5));
- System.out.println(x.equals(y));
संक्षेप में उत्तर
उत्तर
- ompu
- 4
- Applicationster
- false
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?