top of page
Home: Welcome
Search
Inheritance
Inheritance is a mechanism in which one class acquires the property of another class.For example, a child inherits the traits of his/her...

Keshari Abeysinghe
Mar 27, 20201 min read
Â
Â
Â
Aggregation in java
In Java, aggregation represents HAS-A relationship, which means when a class contains reference of another class known to have...

Keshari Abeysinghe
Mar 25, 20201 min read
Â
Â
Â
Polymorphism
Polymorphism in Java occurs when there are one or more classes or objects related to each other by inheritance. In other words, it is the...

Keshari Abeysinghe
Mar 24, 20202 min read
Â
Â
Â
Abstraction in Java
Abstraction in any programming language works in many ways. It can be seen from creating subroutines to defining interfaces for making...

Keshari Abeysinghe
Mar 23, 20202 min read
Â
Â
Â
Encapsulation
Encapsulation is one of the key features of object-oriented programming. Encapsulation refers to the bundling of fields and methods...

Keshari Abeysinghe
Mar 20, 20202 min read
Â
Â
Â
Access modifiers
The access modifiers in Java specifies the accessibility or scope of a field, method, constructor, or class.There are four types of Java...

Keshari Abeysinghe
Mar 19, 20202 min read
Â
Â
Â
bottom of page