Question: (4 points) What type of data would you use for each of the following data items? To store the number of times that a person

(4 points) What type of data would you use for each of the following data items? To store the number of times that a person went to To store a student's GPA gas stations during a trip To store a book's title To determine whether or not two products same price 8 points) Which lines contain error for each of the following block? (Each block may have more tha int value=99; char ch1 = "k"; String s1 = 'Hello'; V ouble $c32.9; nt d -5 double b 99; int rate% -5; boolean d false; int c = 7.0; int 5number 5; double n 9; int p = n; int mi char genderMale System.out.println( points) What is the output for each of the following blocks? //3 points I double x = 12.98; int y = 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
