Can a Class or method be a final and abstract at the same time in java?
NO....
But why???
...
...
..
we know that a final class or method not be modified further ..
and also an abstract class have a opposite nature of final class that one is abstract class or abstract method must be modified further..
Hence at a same time a class or a method can not be final and abstract .
But why???
...
...
..
we know that a final class or method not be modified further ..
and also an abstract class have a opposite nature of final class that one is abstract class or abstract method must be modified further..
Hence at a same time a class or a method can not be final and abstract .
Post a Comment