Question: 1. Write a Java program code that demonstrate all of the following data types: a. int b. long C. float d. double e. char f.

1. Write a Java program code that demonstrate all of the following data types: a. int b. long C. float d. double e. char f. string The program code must perform the arithmetic operator, order of precedence etc. You can create your own scenario and use the Scanner and JoptionPane class to get input from user. Use the print screen function to display the program code and the output as well
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
