Category Java

Scientech Easy welcomes you in the Java tutorial category. We have designed this tutorial series for beginners, students, and professional developers who want to learn Java programming from basic to advanced levels. Here, you will find easy-to-understand Java tutorials, practical example programs, interview questions, and quizzes.

So, let’s start to understand Java concepts one by one with these tutorials.

Composition in Java

Composition in Java is one of the core concepts of object-oriented programming. It is different from the inheritance in Java. Inheritance is defined as Is-A relationship whereas, composition is defined as Has-A relationship. Both composition and inheritance are design techniques…

Aggregation in Java

Aggregation in Java is one of the core concepts of object-oriented programming. It focuses on establishing a Has-A relationship between two classes. Aggregation is a specialized form of unidirectional association that represents a relationship between two class objects where one…

Association in Java

Realtime Example of Association in Java

Association in Java is a relationship between two separate classes that are independent of one another. It represents a Has-A relationship. Association is one of the core concepts of object-oriented programming in Java. It defines how objects of one class…

Has-A Relationship in Java

Has-A Relationship in Java

In addition to the Uses-A relationship and the Is-A relationship that represents inheritance, one more relationship is commonly used in object-oriented programming. This relationship is called Has-A relationship in Java. When an object of one class is declared as a…