What will be the value of
String s=yip;
Sopln (s.subString(0,0));
Willthere be an error??????
Answers
Answered by
0
Yes there will be an error.
Answered by
0
There will be an error because the value of s is not written in double quotes.
It is written as:
String s=yip;
while it should be like :
String s="yip";
It is written as:
String s=yip;
while it should be like :
String s="yip";
Similar questions
Biology,
8 months ago
Social Sciences,
8 months ago
Chemistry,
1 year ago
Math,
1 year ago
Physics,
1 year ago