"Hi, Amigo!"
"Hi, Diego!"
"Here’s a small task about displaying the stack trace."
9
Task
New Java Syntax,
level 9,
lesson 2
Locked
Octal converter
The public static toOctal(int) method must convert the integer received as an input parameter
from the decimal numeral system into octal. And conversely, the public static toDecimal(int) method converts
from the octal system into decimal.
The methods only work with positive numbers. If the input par
9
Task
New Java Syntax,
level 9,
lesson 2
Locked
Binary converter
The public static toBinary(int) method must convert the integer received as an input parameter
from the decimal numeral system to binary and return its string representation.
And conversely, the public static toDecimal(String) method converts
from the string representation of a binary number to a de
9
Task
New Java Syntax,
level 9,
lesson 2
Locked
Hexadecimal converter
The public static toHex(String) method must convert the integer received as an input parameter
from the decimal numeral system to hexadecimal and return its string representation.
And conversely, the public static toDecimal(String) method converts
from the string representation of a hexadecimal numb
9
Task
New Java Syntax,
level 9,
lesson 2
Locked
Binary to hexadecimal converter
The public static toHex(String) method must convert the string representation of a binary number,
received as an input parameter, from the binary numeral system to hexadecimal and return its string representation.
And conversely, the public static toBinary(String) method converts from the string rep
GO TO FULL VERSION