Is JavaScript a OO programming language?

Coming to JavaScript and asking how to do classical inheritance is like picking up a touch-screen mobile phone and asking where the rotary dial is. Of course, people will be amused when the next thing out of your mouth is, "If it doesn't have a rotary dial, it's not a…

Interfaces

When trying to implement a pure abstract class (the equivalent of a Java interface), we should not deal with member visibility. Hence, one possible way is to declare the base class as a struct.…