While structure programming is associated with dividing a program into functional modules or structures, object-oriented programming works on the concept of objects and classes.