Meet Patel

I am a passionate programmer, blogger, and developer by choice. I like to write and contribute to the developer community.

Cohesion and Coupling in Java: Free Java tutorials

Cohesion and Coupling are two of the most important Object-Oriented Programming concepts apart from Inheritance, Polymorphism, and Encapsulation. We will discuss and understand cohesion and coupling in this tutorial. Coupling in Java The degree of dependency between the components is called coupling. If the dependency is more, then it is considered as tight coupling. And …

Cohesion and Coupling in Java: Free Java tutorials Read More »

Variable-arguments Method Overriding and Variable Resolution in Java : Free Java Tutorials

In this article, we will understand variable resolution in Java. We will also see whether variable overriding is possible in Java or not. Then we will also take an example and understand of method overriding which involves variable arguments. We can override variable arguments method with another variable arguments method only. If we are trying …

Variable-arguments Method Overriding and Variable Resolution in Java : Free Java Tutorials Read More »

Method Overriding Rules and Scope in Java : Free Java Tutorials

Method overriding is as important as method overloading and a slightly tricky concept of Java. Whenever we do method overriding, we must follow some rules and take care of the scope of access modifiers. We will discuss these things in detail in this article. Method overriding scope and rules related access modifiers Private methods of …

Method Overriding Rules and Scope in Java : Free Java Tutorials Read More »

Method Overriding and Exception Hierarchy in Java : Free Java Tutorials

Method Overriding is as important as Method Overloading in Java. In this tutorial, we will understand Exception Hierarchy in Java and understand the rules that we follow when we override methods which throws different types of Exceptions. If child class method throws any checked exception, then parent class method should compulsorily throw the same checked …

Method Overriding and Exception Hierarchy in Java : Free Java Tutorials Read More »