Fun fact related to the last task: Schrödinger's Cat is a thought experiment that Schrödinger devised to *criticise* Quantum Physics, not to explain them. And Einstein agreed with him. The idea that a cat could be both alive and dead at the same time was ridiculous to them and simply didn't line up with the world as we experience it.
Michael AmannLevel 22, United States of America, United States
Can someone explain to me what the heck is wrong here
com/codegym/task/task12/task1215/Solution.java:41: error: getChild() in com.codegym.task.task12.task1215.Solution.Dog cannot override getChild() in com.codegym.task.task12.task1215.Solution.Pet
public static Pet getChild(){
^
return type com.codegym.task.task12.task1215.Solution.Pet is not compatible with java.lang.String
GO TO FULL VERSION