Java abstract class | Examples, constructor, default method

What is Abstract Class in java? A Java class is declared with Abstract Keyword called a “Java Abstract Class“. An abstract class can have Abstract methods and no abstract method or both. This class can’t be instantiated, it should be extended and its method implemented. A point of Java abstract class Abstraction is one of the major Read More…


Java inner class | Java nested class | Types | Anonymous, Static, Local

Defining one class into another class is called a Java inner class or Java nested class. An inner class can be the default, public, protected, or private access modifier. But for the outer class, it’s only can public or default. Java inner class constructor is called with a new object of the inner class created. In Read More…