Write the output of the following statement:
System.out.println("A picture is worth \t \"A thousand words.\" ");
231 Likes
A picture is worth "A thousand words."
\t is the escape sequence for tab. \" is used to print quotes as part of the string.
Answered By
121 Likes
There are 128 set of different characters used in a Java program.
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);: