Yes I am from C++ background.
So as String in java is not Null terminated.Then how we can find once we come to end of the string in java.Becuase here we can not use normal string lenght() method.
Type: Posts; User: nike
Yes I am from C++ background.
So as String in java is not Null terminated.Then how we can find once we come to end of the string in java.Becuase here we can not use normal string lenght() method.
Hello I am writing the java program to get the Length of the String without String method.So I am using loop.
But I am getting the error as -
Exception in thread "main"...