Nearly every computer science student learn database and Object Oriented Programming in his first or 2 year of study. I recently learning java, which is a programming language that supprt oop, and i realize that these two has some somewhat similar concept, and its analogous counterpart of each other.
class is like table. object instance of a class is like row of its table. fields is like columns. You know what i mean. The key difference is that relational data base (rdb) dont have method, and more static than dynamic fields of an object. Because
Because of their similarity and different you can fuse them together creatin something somewhat dynamic and persistant.