Hey thank a lot guys. :p
Type: Posts; User: thomas_nibu
Hey thank a lot guys. :p
Yeah Thanks,
I know about this. But I wanted to stop this stuff from happening.
Yeah this is what I want. I am assuming that a function with the same signature does not exist in the super class. Then no problem.
I want to simulate this is C++
Thanks grumpy,
But this is not what I meant.
--in java--
public final void func()
{}
didn't get you. Sorry.
I know I can do it like this. But the problem is it can be overriden. And the behavior can be changed. I don't want this to happen.
The final keyword in java is a good example. It prevents the...
Hi guys,
Can any one of you suggest a way to prevent a function from being overriden in a derived class.
I want the derived class to use the function too. But want to prevent it from...