Can Abstract Modifier Be Applied to a Variable
: No it is applied only to class and methods No, the abstract modifier cannot be applied to a variable in Java. The abstract modifier is used with classes and methods, not with variables. In Java, you use the abstract keyword to declare abstract classes and methods. An abstract class is a class that cannot … Read more