Method Program.inherits() Method inherits int inherits(program|object child, program parent) Description Returns 1 if child has inherited parent.