Question: Write a new class called ConvertMe create an int with the value of the current year convert it to a long convert it to a
Write a new class called ConvertMecreate an int with the value of the current year
convert it to a long
convert it to a short
create a byte with the value of your age
convert it to a double
convert it to an int
print all the results
I need the code in java using eclipse.
Thankyou
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
