Will the following code compile?

public abstract class One {
    public abstract int doJob();
}
class Two extends One { }
Explanation
Non-abstract class must implement abstract methods of base classes / interfaces

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback