Re: Making JAVA methods non-virtual




Look for optimisations (if necessary) at a higher level.


Actually more than optimisation I am eager to know whether this can be
done or not ? If yes, then how ?

I was asked this question in an interview. And, the interviewer told me
that it is possible to do so as well as asked me to explore it.

.