I have this in return.
return "0000".substring(binaryNumber.length() % 4) + binaryNumber
In terminal, I have response: In Unicode, the character C is 67, but in binary it is 01000011 In Unicode, the character o is 111, but in binary it is 01101111 In Unicode, the character d is 100, but in binary it is 01100100 In Unicode, the character e is 101, but in binary it is 01100101 In Unicode, the character G is 71, but in binary it is 01000111 In Unicode, the character y is 121, but in binary it is 01111001 In Unicode, the character m is 109, but in binary it is 01101101 In Unicode, the character ! is 33, but in binary it is 00100001 What is wrong? Why is it return error after verifying: "The toBinary(int) method needs to be implemented as outlined in the task conditions. Be sure that the toBinary(int) method converts the input decimal number to binary and returns the string representation."?