* Tight coupling: If one class is strongly interrelated to another class, it is said to have a tight coupling with that class.
#Source_code
#OOP_Concepts_java
#coupling_in_java
#119
#Source_code
#OOP_Concepts_java
#coupling_in_java
#119
* Loose coupling: If one class is weakly interrelated to another class ,it is said to have loose coupling with that class. Loose coupling is preferred over tight coupling. A class can achieve this with the help of interfaces, as shows.
#Source_code
#OOP_Concepts_java
#coupling_in_java
#120
#Source_code
#OOP_Concepts_java
#coupling_in_java
#120