1. Explain what is meant by the following data types:
(a) Integer
(b) Real
(c) String

2.State the data types that should be used for the following variables:
(a) correct = False
(b) firstName = "David"
(c) weight = 147
(d) ge = 15

HELP ME PLEASE

Respuesta :

An Integer in an object that represent an int (Integer a = new Integer(3) would represent 3).

I'm not sure about Real.

A String is an object that represents a word. (String a = "dog")

Boolean

String

int

int

Hope this kind of helps