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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!