[talk] Statics In Object Oriented Programming
Peter Varga
pvarga at pvrg.net
Sun Jul 15 21:39:43 EDT 2018
On Sun, Jul 15, 2018, at 14:15, Sujit K M wrote:
> 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.
>
>
This question is pretty good, yet needs more details, work to be
complete. So let me attempt a start.Mostly: Python has a runtime, Java runs in a VM, C++ is compiles.
So can (c++|python|java) be compiled or run in a VM or have a runtime?
This is CompSci with enough thinking, engineering, and (necessary,bloat)
code a lot can be done.
My advice is just to start with one of these to investigate the
“static in object oriented languages” and let the language definition
be observed.
_______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20180716/07f23295/attachment.htm>
More information about the talk
mailing list