Computer Science, asked by divyanshiagrawal, 1 year ago

What will be the value of
String s=yip;
Sopln (s.subString(0,0));
Willthere be an error??????

Answers

Answered by Jainstuti
0
Yes there will be an error.
Answered by kooper
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";





Similar questions