[metaslider id="213"]

Association

Association: Its the relationship between two separate classes by their objects. It can be one to one, one to many, many to one and many to many. Composition and Aggregation are two forms of Association. Aggregation: It represents a Has-A

Read more

Polymorphism

Polymorphism mean the condition of occurring in several different forms Polymorphism in Java has two types: Compile time polymorphism (static binding) and Runtime polymorphism (dynamic binding). Method overloading is an example of static polymorphism, while method overriding is an example

Read more

Interface in Java

Interface in java is a model/prototype of a class. It has static constants and methods (without implementation). There can be only abstract methods in the java interface not method body. It is used to achieve abstraction and multiple inheritance in Java.

Read more

Abstraction in Java

Abstraction is to hide the unnecessary details from the user and to show only relevant things/data to the user. Abstract class: Abstract class in Java contains the abstract keyword. If a class is declared abstract, it cannot be instantiated, means that you

Read more