Suppose s1 and s2 are two strings. Which of the following statements or expressions are incorrect?

a. String s = new String("new string");
b. String s3 = s1 + s2
c. s1 >= s2
d. int i = s1.length
e. s1.charAt(0) = '5'


c. s1 >= s2
d. int i = s1.length
e. s1.charAt(0) = '5'

Computer Science & Information Technology

You might also like to view...

When a form is closed, the ____ event is triggered.

A. Disable B. Delete C. Unload D. Undo

Computer Science & Information Technology

Which of the following statements is false?

a. Android—the fastest-growing mobile and smartphone operating system—is based on the Windows kernel and uses Java. b. Android is open source and free. c. Android smartphones include the functionality of a mobile phone, Internet client (for web browsing and Internet communication), MP3 player, gaming console, digital camera and more. d. Android handheld devices feature full-color multitouch screens which allow you to control the device with gestures involving one touch or multiple simultaneous touches.

Computer Science & Information Technology

What is the purpose of the function call?

A. Control is passed to the called function. B. The program is passed all of the called function’s variables. C. main() gets to use the function’s variables. D. Both A & C.

Computer Science & Information Technology

The ____ property of a Form object can be used to set the text that will appear on the form's title bar.

A. Title B. Text C. Caption D. Label

Computer Science & Information Technology