Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How we can find the length of string in java without using length method

807607Nov 30 2006 — edited Nov 30 2006
How we can find the length of string in java.

I dont want to use length method of java and also i dont want to convert string into array and use lenth .

Feel free to use any other method. my intension is know how java reconized that end of string encounter.


Thanks & regards,
Beniwal
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2006
Added on Nov 30 2006
11 comments
1,009 views