|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
write and test a class that can be used to create and object whose instance string variable can be initialised to a string constant such as:
"I fined that the harder I work the more luck I seem to have" the class need to provide the following methods A method to display an object's string. A method that given a character, it returns the number of times that character occurs in the string within the object. eg: the character 'e' occurs 7 times within the sample string. Please help me with this |
|
#2
|
||||
|
||||
|
I charge $150 an hour for doing homework. For you, I'll knock it down to the DevArticles special -- $125 an hour, 10 hour minimum.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > "String Class" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|