Write the greatest 4-digit number that can be formed with all the digits same.
To form the greatest 4-digit number with all digits same, write the greatest digit, i.e., 9 four times.
So, the greatest 4-digit number with all digits same is 9,999.
Hence, the greatest 4-digit number that can be formed with all the digits same is 9,999.