methods, class and more
hi ! I took the java course before coming to this course, but I am still getting lost whenever the video talks about classes and methods.. can somebody help me a little with this ?
james southFront End Web Development Techdegree Graduate 33,252 Points
the class is the blueprint for the object. so at a bank we might have a bank account class. it would spell out how accounts are created, what properties they have, and how we can change those properties. methods are used to change aspects of the object we create with the class. so we might have a deposit method to add money to an account and a fee method to apply a monthly fee etc.