I was reading this , and noted the second point in the question:
An another interviewer asked me what if you had a Public variable inside the interface, how would that be different than in Abstract Class? I insisted you can't have a public variable inside an interface. I didn't know what he wanted to hear but he wasn't satisfied either.
I read the answers and none of them seems to clarify this point, except this:
For .Net,
Your answer to The second interviewer is also the answer to the first one... Abstract classes can have implementation, AND state, interfaces cannot...
I think the answer to the interviewer was correct, as you cant have any variables inside the interface. I am a bit confused here. Can anybody clarify? My question is, why did the interviewer ask such a weird(?) question?