In the method call string.Trim, string typically is either the Text property of a control or ____.

A. any variable of a character-based type
B. the literal string
C. the name of your program
D. the name of a String variable


Answer: D

Computer Science & Information Technology

You might also like to view...

________ is an intermediate operation that transforms a stream’s elements to new values and produces a stream containing the resulting (possibly different type) elements.

a. Transforming b. Converting c. Mapping d. Translating

Computer Science & Information Technology

Class ________ represents a dynamically resizable array-like data structure.

a. Array b. ArrayList c. Arrays d. None of the above.

Computer Science & Information Technology

____ help clarify and emphasize details, so they appeal to audience members with differing backgrounds, reading levels, attention spans, and motivations.

A. Icons B. Outlines C. Graphics D. Typefaces

Computer Science & Information Technology

To construct a Polygon with three points x1, y1, x2, y2, x3, and y3, use _________.

a. new Polygon(x1, y1, x2, y2, x3, y3) b. new Polygon(x1, y2, x3, y1, y2, y3) c. Polygon polygon = new Polygon(); polygon.getPoints().addAll(x1, y1, x2, y2, x3, y3) d. Polygon polygon = new Polygon(); polygon.getPoints().addAll(x1, y2, x3, y1, y2, y3)

Computer Science & Information Technology