?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

String Data Type Characteristics

APCSA-D1KEG4

Which of the following is a correct statement about a String?

A

a String needs to be instantiated before it can be assigned to a String variable

B

a String is a primitive data type

C

a String is a sequence of characters, such as "12378.3".

D

a String can be combined with other Strings by using the "=+" assignment operator

E

the String class is private and therefore, the use of its methods is prohibited