The way of the Samurai

  • 1
  • Locked
"Weigh every word and always ask yourself whether what you want to say is true," says the Samurai code. What do you think, is the following phrase true?: 日本語 And is it a phrase, or perhaps just a word? Your task is to display these logograms on the screen. The task was created by top specialists as part of Japanese language week at CodeGym.
You can't complete this task, because you're not signed in.
Comments (30)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
30 May 2021, 00:22
Why this exercise is not working?
Level 12 , Corredor
10 April 2021, 20:29
it is not working yet....
Level 12 , Corredor
9 April 2021, 20:23
I don't have dark matter, and tasks don't work... What can I do? Even I can't check the tasks...
Alex Vypirailenko Java Developer at Toshiba Global Comme
10 April 2021, 13:31
Please contact support at
Level 9 , Rochester, United States
20 October 2020, 05:46
I don't actually understand why everyone is trying to search for Unicode character charts? just copy and paste the symbols into the console. 日本語 If you are having trouble figuring out how to output text to the screen remember you learned how to output text already. Refer to Level 1 in the lessons the first part is screen output. Here are the unicode values for the three kanji symbols for this task with the characters integer values and hexidecimal values. Feel free to look them up if you still want to. I only put them here in case anyone wants to know without having to look them up. 日語本 Int values: 26085 = 日 35486 = 語 26412 = 本 Hex values: 0x65e5 = 日 0x8a9e = 語 0x672c = 本
Jakub M
Level 32 , Ostrava, Czech Republic
20 October 2020, 13:03
Hmmm... maybe because it is fun? You can also learn some additional things. E.g. how to find number for unknown sign (char --> int)?:
Or vica versa:
And now you can find out if the result match with ASCII table. Maybe it is not that interesting now - but in the future it could be helpful when you'll be working with Input/Output Streams... Every task has it's reason and try to find the easiest way may sometimes means that you'll be struggling later anyway.
Level 9 , Rochester, United States
27 October 2020, 13:04
public class symbolTest{

     public static void main(String []args){
Actually that is kind of interesting I did not know you could do that. I did not know you could convert the symbol to an integer value representing the symbol and the reverse. The symbols in the code here are the Japanese kanji word neko:(猫)or cat in English and the hiragana symbol: shi (し)which is a syllable used in many words. I knew you could enter unicode characters as hex values all though I have never needed to do it before.
public class hexChar{

     public static void main(String []args){
         char a = 0x30ad;
         char b = 0x30ce;
         char c = 0x30b3;
         String d = "" + a + b + c;
Japanese katakana syllables ki: (キ), no: (ノ) and ko: (コ) together they spell kinoko: (キノコ) meaning mushroom in English. I have done most of my programming in JavaScript. The only experience I have with Java is from my college courses in object oriented programming with Java and the tasks here on codegym. I am always glad to learn something new. Thank you for the reply.
A. Parker
Level 7 , United States
28 September 2020, 19:01
Anyone that may need help in future. You can usually search "unicode" within your OS search bar and access the unicode character map on your computer instead of web search !
Level 5 , Vijayawada, India
28 November 2019, 12:27
explain how to print these symbols.
Level 41
29 November 2019, 06:40
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at
Bishal Sharma
Level 3 , Mumbai, India
27 December 2019, 15:33
print the alphabets within brackets with double quote....happy learning
Level 9 , Rochester, United States
20 October 2020, 04:57
Use the print function to output the symbols and you can copy and paste the kanji symbols 日本語 if that is what you were having trouble with. Otherwise if you want to type the Japanese symbols out yourself if you are on windows you can go google: "how to install Microsoft IME for Japanese language". With that you can type all the Japanese characters you want to. こんにちは (konnichiwa), さようなら (sayonara) The Japanese for hello and goodbye in hiragana.
Debabrata Das
Level 6 , Bhubaneswar, India
21 September 2019, 07:50
/* Comment has been deleted */
Level 41
23 September 2019, 07:45
Posting the solution in the comments is prohibited.
Maimuna Naaz
Level 4 , Chikmagalur, India
19 June 2019, 02:27
yeah i got it.. thank you..
Maimuna Naaz
Level 4 , Chikmagalur, India
15 June 2019, 06:53
how to print those symbols ??
Level 41
18 June 2019, 06:29
Copy from condition and paste in your code.
Level 9 , Rochester, United States
20 October 2020, 05:13
copy and paste them 日本語 it is easy enough to do that, or go install Microsoft IME Japanese language or something similar so you can type the symbols out yourself. Although that may require learning some Japanese.
Beautiful Active Dedicated
Level 4 , Arlington, TX, United States
27 April 2019, 00:09
what does that say?
Level 22 , Kyiv, Ukraine
27 April 2019, 12:47
The translation of this word is "Japanese language".
Level 9 , Rochester, United States
20 October 2020, 05:14
こんにちわ (konnichiwa) means hello in Japanese. The word 日本語 (nihongo) means the Japanese language. The 語 (go) means language here and the 日本 (nihon) refers to Japanese or Japan. The word originated in reference to Japan as "the land of the rising sun" during relations between Japan and China.