Z:gnu-www-ja-gpl-faq--7ebd86-Subclassing is creating a deri/en

Subclassing is creating a derivative work. Therefore, the terms of the GPL affect the whole program where you create a subclass of a GPL'ed class.