import [Link].
*;
class str
{
public static void main(string args[])throws IOException
}|
int choice,a;
DataInputStream in =new Data Input Stream([Link]);
do
{
[Link]("[Link] [Link] [Link] [Link]
[Link] [Link]");
[Link]("Enter the string");
String s1=[Link]();
String Buffer s2=new String Buffer (s1);
[Link]("Enter the choice");
Choice=[Link]([Link]());
switch(chocie)
{
case 1:
[Link]("length of the give string is:"+[Link]());
break;
case 2:
[Link]("uppercvase of the give string is:"+[Link]
upperCase());\
break;
case 3:
[Link]("coneatilation of the qiven
is:"+[Link]("madurai"));
break;
case 4:
[Link]("insert of the given string
is:"+[Link](3,"madurai"));
break;
case 5:
[Link]("replace of the given string is:"+s2
replace(3,6,"hello"));
break;
case 6:
[Link]("append of the given string is:"+[Link]("msp"));
break;
}
[Link]("do you want continue press 1");
a=[Link] Int([Link] line());
}
while(a==1);
}
}