Loose Coupling Example Using Interface

Coupling is the degree to which one class knows about another class. If the only knowledge that class A has about class B is what class B has exposed through its interface, then class A and class B are said to be loosely coupled, which is good If, on the other hand, class A relies Read more about Loose Coupling Example Using Interface[…]

Access Specifiers

Java Access Specifiers (also known as Visibility Specifiers) regulate access to classes, fields, and methods in Java.These Specifiers determine whether a field or method in a class can be used or invoked by another method in another class or sub-class. Access Specifiers can be used to restrict access. Let’s take an example to understand Java Read more about Access Specifiers[…]

Interface in Java

An interface in the Java programming language is an abstract type that is used to specify a behavior that classes must implement. It is a blueprint of class. Unlike the class, it contains only public & abstract methods and public, static & final fields. One or more classes can implement a defined interface in java.When a class implements a defined interface, it has Read more about Interface in Java[…]

Contact Us
close slider
Contact Us

How can we help you with?