To assign a phrase as the value of a String variable, in which of the following characters should the text be placed?

A. brackets
B. double quotation marks
C. parentheses
D. single quotation marks

Answer: B

Computer Science & Information Technology

You might also like to view...

A button that sends information from a visitor to the owner of a Web site is typically called a ________ button

A) method B) submit C) clear D) reset

Computer Science & Information Technology

Java creates an object called a(n) ____ to model problems that occur while a program is running.

A. defect B. exception C. fault D. alert

Computer Science & Information Technology