Embedded systems interview questions
6. Difference between object oriented and object based languages? Object oriented means everything is an object, they could have all the features of object such as inheritance, implementation of interface. But object based lang means it only uses object idea, it may not let you to create your own object. 7. Multiple inheritance - objects contain howmany multiply inherited ancestor? Java allows only one inheritance, but lang such as C++ allows multiple inheritance which means one class could inherit the behavior on many parent classes. 10.Is java a pure object oriented language? Why? Java is not pure OOL, it still maintains some primitives such as int, char 11. Order of constructor and destructor call in case of multiple inheritance The order of constructor is from base to current which means the constructor of the parent class will be called first, which is the opposite for destructor. ...