what does UML stand for?
unified modeling language
why do we use UML?
it’s a language used to communicate just the details about your code and the application structure without getting details that aren’t necessary
what is inheritance?
it’s when a class inherits the behavior of another class and then can change it when needed
what is overriding?
it’s when a subclass changes the behavior of the superclass
what is polymorphism?
it allows subclass to stand in for the superclass
what is encapsulation?
it’s when you hide a part of your data from the rest of the application and limit the ability of other parts of your application to access the data
what is the importance of encapsulation?
it protects the data from being used in an improper way like doing checks or doing certain operations
what are other names of encapsulation?
information hiding or separation of concerns
what is felixibiliy?
changes in your code that doesn’t make you rework all of it
what does encapsulation lead to?
more flexibility