Polymorphism allows it to return a Graphics object because its actually calling a subclass with a method that actually returns a value.. I don't know the specifics of it but the Graphics class is a super class and then it has a blank outline out what methods each subclass has to have...
most likely because whatever class 'this' is an instance of inherits from java.awt.Graphics.
"When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
"There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
"Mischief my ass, you are an unethical moron." - chsh Blog of X