Oracle Error PLS-00647: attribute by name “string” conflicts with method by same name

Oracle Error Message

PLS-00647: attribute by name “string” conflicts with method by same name

Reason for the Error

While creating a subtype some attribute name conflicted with a method name.

Solution

Use a different name for attribute or method in the type being created.