You can easily try this in your
IDE (f.e. eclipse).
But, for now: Yes, this is possible. An abstract class can have both abstract AND implemented methods which are inherited from a super abstract class.
NOTE: You're not mentioning that class2 extends from class1. I'm assuming that that is what you're trying to do.