Once you've created a graphics layer (as described in How to add a graphics layer), you need to add graphics to it to display data. In most cases, you'll create graphics using geometries that have been created by actions such as executing a query or drawing a shape on the map.
/ Classtalk : A classroom communication system for active learning. In: Journal of Computing in Higher Education. 1996 ; Vol. 7, No. 2. pp. 3-47 @article{cc819104b3034becb09019ef6c28d94c,
The access restriction to the class members is specified by the labeled public, private, and protected sections within the class body. The keywords public, private, and protected are called access specifiers. A class can have multiple public, protected, or private labeled sections. Each section remains in effect until either another section label or the closing right brace of the class body is seen.