Computer Applications
Write the output of the following statement:
System.out.println("A picture is worth \t \"A thousand words.\" ");
Java
Values & Data Types Java
233 Likes
Answer
A picture is worth "A thousand words."
Working
\t is the escape sequence for tab. \" is used to print quotes as part of the string.
Answered By
122 Likes
Related Questions
The number of bytes occupied by a character array of four rows and three columns are:
- 12
- 24
- 96
- 48
int x = 98; char ch = (char)x; what is the value in ch?
- b
- A
- B
- 97
Consider the array given below:
char ch[] = {'A','E','I','O', 'U'};Write the output of the following statements:
System.out.println(ch[0]*2);:- 65
- 130
- 'A'
- 0