I have a class that inherits from an abstract class. Inside of this class is an abstract method. In the inherited class I want the abstract method to be private. When I code override I get an error that says "COBCH0965: Overriding method must have visibility Public" and from my understanding of Visual Cobol is legitimate. The question comes into play when I use the cobol keyword override it seems to build just fine. Is this the intent? Below is an example of the redefines code.
class-idUfg.Life.Policy.PolicyAbstractabstract.
method-idGetPlanCodeabstract
proceduredivisionreturningreturningPlanCodeasString.
endmethod.
*************** now for the class that inherits from the above class
class-idUfg.Life.Policy.InforcePolicyinheritstypeUfg.Life.Policy.PolicyAbstract.
method-idGetPlanCoderedefineprivate
proceduredivisionreturningreturningPlanCodeasString.
endmethod.