Zendaya and Gabby Douglas understand the value of an education.

The "K.C. Undercover" star and the Olympic gold medalist graduated from Oak Park High School in Oak Park, Calif. on Thursday evening. The young women both attended the Oak Park Independent School which allowed them a flexible schedule for their work commitments.

The 18-year-old Zendaya admitted she didn't know anyone at the graduation rehearsal, but she was nice enough to pose for a few selfies with her fellow graduates.

"So I'm doing my graduation rehearsal and I don't know anyone but they cheered when my name was called, thanks guys, ya'll the real MVP's," the Disney star tweet.