Can any one here who tell me that why we can not Declare a class or Interface as Private or Protected.
I have just compiled a class as
private class abc{
}
then the compiler throw an error that private is not allowed here
So can any one plz explain me the reason behind that?
I have just compiled a class as
private class abc{
}
then the compiler throw an error that private is not allowed here
So can any one plz explain me the reason behind that?
Comment