Home Segments Top Top Previous Next

337: Mainline

When you impose a method-definition requirement by declaring an abstract method, you shift to the Java compiler a requirement-managing responsibility that otherwise would require your own, human attention. Because good programming practice dictates that method-definition requirements should be thought through and managed carefully, good programmers often exploit the abstract-class–abstract-method mechanism.