Methods also provide the interface that other classes use to access and modify the properties of an object ; this is known as encapsulation. Encapsulation and overriding are the two primary distinguishing features between methods and procedure calls.