Methods perform operations on fields, methods have the following
-Constructors initializes the state
-accessor method check the sate of the fields
-muatator methods changes the state
-utility methods performs
Wrap all of this into one class and you have your self a encapsulation.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More