M
Michael
Hi, Im stuck.
I want to have a method with:
- a parameter String s
- in the body it breaks the String s apart into chars then the chars
are put into alfabetical order.
- the return would give a String in alfabetical order.
In other words:
private String scramble(String s)
{
// put the chars from the string into alfatbetical order (black box)
return s;
}
Any suggestions?
Regards,
Michael (The Netherlands)
I want to have a method with:
- a parameter String s
- in the body it breaks the String s apart into chars then the chars
are put into alfabetical order.
- the return would give a String in alfabetical order.
In other words:
private String scramble(String s)
{
// put the chars from the string into alfatbetical order (black box)
return s;
}
Any suggestions?
Regards,
Michael (The Netherlands)