Get up to 80 % extra points for free! More info:

Discussion – Lesson 9 - Strings in Java - Split and join

Back

 

Comments
Avatar
Sajjad Sajjad Khan:9/6/2017 23:46

i did not understand how dots convert into characters ??

 
Reply
9/6/2017 23:46
Avatar
Replies to Sajjad Sajjad Khan
David Capka Hartinger:9/9/2017 10:32

The whole message is split using spaces which results in an array of Morse code characters. These are then converted to characters based on the Morse character definitions, see the attached source code.

Reply
9/9/2017 10:32
You can walk through a storm and feel the wind but you know you are not the wind.
Avatar
 
Reply
9/10/2017 5:27
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

3 messages from 3 displayed.