# In this lecture we will learn an important concept of Object-Oriented Programming # called ENCAPSULATION. # What is Encapsulation? # Encapsulation means combining DATA and FUNCTIONS together inside ...
# Here we look at another example, where we have three methods # set_val(), get_val(), and increment_val(). # set_val() helps to set a value, get_val() prints the value, # and increment_val() ...