program to find out the length of string without using strlen() function
Answers
Answered by
1
class prg
{
void display()
{
String s="COMPUTER";
int length=s.length();
System.out.println(s);
}
}
Similar questions
Math,
5 months ago
Math,
5 months ago
Physics,
10 months ago
Social Sciences,
10 months ago
Social Sciences,
1 year ago
Chemistry,
1 year ago