Results 1 to 4 of 4
Thread: Help me to solve problem
- 11-13-2008, 08:03 AM #1
Member
- Join Date
- Nov 2008
- Posts
- 2
- Rep Power
- 0
-
Why not have a look at the other methods available to String per its API, and then come back and let us know what you've found that can possibly help you.
- 11-13-2008, 08:07 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 11-13-2008, 08:15 AM #4
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 5
The "length" method returns a private "count" variable that holds the length of the "String" object. Thus, unless you implement your own version of the "String" class, you won't be able to implement a practical "length" method.
Google search returned the implementation of the String class:
java.lang: String.java
Similar Threads
-
Please solve the problem related to PDf reader
By kavithaprabhaker in forum New To JavaReplies: 5Last Post: 11-23-2011, 10:08 AM -
Help me to solve problem
By mansoorhacker in forum Forum GuidesReplies: 8Last Post: 01-24-2009, 06:29 PM -
JList and records, what to do to solve the problem
By willemjav in forum Java AppletsReplies: 10Last Post: 06-11-2008, 02:28 PM -
Help mi solve my error
By Deon in forum New To JavaReplies: 3Last Post: 01-11-2008, 05:26 AM -
Cannot solve the coding problem of my assignment
By elimmom in forum New To JavaReplies: 3Last Post: 08-13-2007, 11:33 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks