The reason is same as abstract class and abstract method is useful.
Type: Posts; User: vanshika
The reason is same as abstract class and abstract method is useful.
We have abstract classes as well as abstract method in java but why we do not have abstract variable in java??