Hello gurus i am new to oop and am trying to teach my self but am stack on referencing i created a class Car and created some properties in it.
now as am studting to reference one class into another, i created another class NewCar extends Car
but now the problem is when i instatiate NewCar and save it to a valuable and try to echo that valuable i get this error.
what could be the problem from the tutorials it seems right or which is the better way to reference aclass