โ Back to Printing
Question 277
Hexadecimal Output
Hexadecimal Output
UseSystem.out.printfwith the%xconversion to print the number 255 in lowercase hexadecimal, followed by a newline (%n): ff 255 in hex isff.
Expected Output:
ff
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.