Which of these conditions returns true? Check the Java documentation for the inheritance patterns. (a) Rectangle r = new Rectangle(5, 10, 20, 30); (b) if (r instanceof Rectangle) ... (c) if (r instanceof Point) ... (d) if (r instanceof Rectangle2D.Double) ... (e) if (r instanceof RectangularShape) ... (f) if (r instanceof Object) ... (g) if (r instanceof Shape)