And as IBM continues to change and evolve with the times, incorporating cloud and artificial intelligence to keep up with the latest trends in tech, Rometty has applied that lesson to her company.
"This is that idea: do not let someone else redefine you, like don't let someone else redefine your company," she says.
Rometty also shares her thoughts on the lack of females in executive roles, saying that making it easier for women to balance life and work is the key to closing that gap.
"You've got to keep women in the workforce, whether it's through having children, caring for elder parents, all the things," she says. "Not that husbands and spouses and partners don't do those things too, but it's often what takes them out, and then to get them back in is hard."
The CEO adds that IBM has done a number of things to keep women working, including shipping breast milk back to babies when their mothers are traveling on the job.
"You keep them in the workforce, your odds are much higher," Rometty says. And that's just one of the many things we do."
Questions for Cramer?
Call Cramer: 1-800-743-CNBC
Want to take a deep dive into Cramer's world? Hit him up!
Mad Money Twitter - Jim Cramer Twitter - Facebook - Instagram - Vine
Questions, comments, suggestions for the "Mad Money" website? email@example.com
The 25 most beloved CEOs in America