+ 1
method not getting override
Here in this code. type() method is not getting overidden ? Why. https://code.sololearn.com/cJDj0PZ0Ed25/?ref=app
1 Antwort
+ 1
Element el{Carbon{}};
Here you are declaring a object of Element and are initialising it with a object of Carbon.....