• + 0 comments

    wanted to know can't we override the prototype methods like earlier I was trying to create area method in square class too and from there was eventually calling super.area() so as to idirectly call reactangle's area method. Can someone please help me with any conceptual error which I am doing here?