?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Characteristics of a String

APCSA-SAKWJZ

All of these are accurate statements about a String EXCEPT:

A

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

B

a String is a sequence of characters, such as "AP Computer Science is fun!"

C

a String is a class that can be used to represent an object

D

a String can be combined with other Strings by using the concatenation operator +

E

the String class contains methods that can be called to obtain a part of a String