Z:gnu-www-ja-gpl-faq--17f9ba-=3Ca href=3D"=23OOPLang"=3EIn an objec/en

In an object-oriented language such as Java, if I use a class that is GPL'ed without modifying, and subclass it, in what way does the GPL affect the larger program?