On 5/27/2011 2:03 PM, Matthew Ong wrote:
Would not it be a better keyword such as:

class A{
// assuming there is a new keyword of noinherit
noinherit void foo(int x){} // all other method can be inherited in A
except for this class
}
Ignore the last message on new noinherit, just remember we already have final. Could new keyword help function hijacking and prevented aliasing all over the place??

--
Matthew Ong
email: on...@yahoo.com

Reply via email to