I might heavily on Java. But don't understand what a field in Object is present in sub class why does it create two variables(one in sub class and other in parent class). How about changing them to static would it give a compiler. I am more interested in Python and C++. How does memory management work in these languages.