Computer Science, asked by aartimuku2411, 10 months ago

Difference between integer and number on basis of data type

Answers

Answered by ramireddymokshavathi
0

An integer is a whole number that will positive or negative .A number is a any kind for example (whole number (or)non-whole number).

Answered by deepakPGDV
0

Number allows for much larger values than Integer does. If you are using whole numbers, I recommend using Integer. If you are using numbers that may have a decimal component, I recommend Number.

May it helps you ✌️✌️

Similar questions