No - Hands-On Assignment Topics Covered Status
No - Hands-On Assignment Topics Covered Status
Sample Output:
Integer range:
min: -2147483648
max: 2147483647
Double range:
min: 4.9E-324
max: 1.7976931348623157E308
Long range:
Wrapper
1
min: -9223372036854775808 Class
max: 9223372036854775807
Short range:
min: -32768
max: 32767
Byte range:
min: -128
max: 127
Float range:
min: 1.4E-45
max: 3.4028235E38
2 Wrapper
Accept a integer number as Command line argument from the Class
program and when the program is executed print the binary,
octal and hexadecimal equivalent of the given number.
Sample Output:
java Test 20
Given Number :20
Binary equivalent :10100
Octal equivalent :24
Hexadecimal equivalent :14
For example, if the user enters the value 16, then the output
should be
00010000 Wrapper
3
Class
and if the user enters the value 100, the output should be
01100100