Abstract class & Method in Java_simple