You cannot have get1() as static in Parent7 and get1() as instance in Child7. In general you cant have an instance method with the same signature as the static method of it parent class.