Examlex

Solved

What Will Be Displayed After the Following Statements Are Executed

question 29

Multiple Choice

What will be displayed after the following statements are executed?
StringBuilder strb = new StringBuilder(12) ;
Strb.append("The cow ") ;
Strb.append("jumped over the ") ;
Strb.append("moon.") ;
System.out.println(strb) ;


Definitions:

Plain Text Format

A file format for text that contains no formatting, making it universally readable by text editors and processors.

Rich Text Format

A file format that allows the exchange of text files between different word processors in different operating systems while retaining formatting.

Greeting Line

A polite phrase or word used at the beginning of a communication to acknowledge the recipient.

Comma

A punctuation mark (,) used to indicate a pause between parts of a sentence or to separate items in a list.

Related Questions