Z:gnu-www-ja-gpl-faq--ba8a2b-In an object-oriented language/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? (#OOPLang)