Erd

what are the disadvantages when using ERD instead of a class diagram when using Object Oriented Programming (OOP)