0
i dont think so
overriding is happening beacuse of parent and child class because they are connected
imagine this...you have two classes that are not connected
class A{
int a;
}
clasa B{
int a;
}
maybe variables have the same name but they are not the same.when you want to use some of them you need to create object in your main class and you cant access B object if you create A object. same thing happens to methods
so that's my opinion...maybe i'm wrong ,maybe there is some way but it doesnt seem logical to me



