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,
In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state and implementations of behavior. In many languages, the class name is used as the name for the class, the name for the default constructor of the class, and as the type of objects generated by instantiating the class; these distinct concepts are easily conflated. When an object is created by a constructor of the class, the resulting object is called an instance of the class, and the member variables specific to the object are called instance variables, to contrast with the class variables shared across the class.