?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Employee Cell Phone Variable

APCSA-E1ZAGE

You are asked to create a class to define an Employee. One piece of information that needs to be tracked for each employee is his/her primary cell phone number (including the area code).

Of the choices given below, which would be the BEST option for declaring a variable to store this information?

A
private String cellPhone;
B
private int cellPhone;
C
private double cellPhone;
D
private String[] cellPhone;
E
private int[] cellPhone;