Read an input text from the console and print it as a sequence of bytes.
Use System.in as input stream directly. Avoid using Scanner.
We use cookies to enhance your experience. Choose your preference for cookie usage.
Essential cookies are required for basic functionality. Additional cookies help us improve our service and provide analytics.
Read an input text from the console and print it as a sequence of bytes.
Use System.in as input stream directly. Avoid using Scanner.
Sample Input 1:
abcSample Output 1:
979899Sample Input 2:
another textSample Output 2:
9711011111610410111432116101120116Create a free account to access the full topic