What is wrong with the following program statement? How can it be fixed?

```
System.out.println ("To be or not to be, that is the
question.");
```


The string to be printed is not all on one line. The problem can be fixed by splitting the long string into two and using the string concatenation operator (+) to reconstruct it, or by using a print statement for part of the string and a println statement for the remainder of the string.

Computer Science & Information Technology

You might also like to view...

If you wanted to create text in an arc over an image in Illustrator you would use the Type on a _______________ tool.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

It does not matter if you drag a slice when you click to select it because slice numbers are updated manually and not by position.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which class member prototype will add a function to TVset called WriteTV?

A. void WriteTV(); B. WriteTV(); C. void TVset::WriteTV(); D. void TVset();

Computer Science & Information Technology

What are loop statements used for in programming?

What will be an ideal response?

Computer Science & Information Technology