In a recent interview I was asked the question that "how can we say that in java8 the functional interfaces are similar to marker interfaces".
I was not able to answer this question.
But I think marker does not even have any methods while functional interface has to have one method to be overridden.
Can someone help me understand this whether this is a valid argument in some context maybe or the question itself is wrong?