differences

Abstract class vs Concrete class

Following are the important differences between an abstract class and a concrete class. Sr. No.KeyAbstract ClassConcrete Class1Supported MethodsBoth abstract and…

2 years ago

Regular class vs static nested class

Comparison between a normal or regular class and a static nested class. S.NONormal/Regular inner classStatic nested class1.Without an outer class…

2 years ago

Interface vs Abstract class

As we all know, abstraction refers to hiding the internal implementation of a feature and only giving the users the…

2 years ago