We examine the object-oriented programming (OOP) capabilities of FORTRAN 90 and their applications to numerical electromagnetic codes. Specifically, we will define an object representing a three-dimensional vector, and illustrate how objects can streamline code development by reducing the number of subroutines and the potential for programmer errors.