In ClassD you can created object of SeleniumCore class's object. In following code I have created object of class SeleniumCore in class ClassD and printed it ,