0
What is abstract
Abstract class
2 Answers
+ 3
An abstract class cannot be instantiated (to create a new instance of the class).
Basically an abstract class has a protected constructor that cannot be directly accessed the way i did in the example.
ex/
public abstract class example{}
public class main(){
public static void main(String args[]){
example notAllowed = new example(); // this is illegal
}
}
+ 2
that can have abstract methods and normal methods.