|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, everyone
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 Thankyou yours Hjays |
|
#2
|
||||
|
||||
|
This is the second time you've posted this today. Besides the fact that you seem to be asking us to do your homework for you, it's rude to spam the forums. Please don't post it again. If nobody answers, nobody answers, and duplicating posts isn't going to change the fact.
|
|
#3
|
||||
|
||||
home·work |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > "String Class" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|