Java s'étend

public class SecondClass extends FirstClass {
}
//with that you can include the firstclass to the secondclass
Dreinale