Meet Patel

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

Method Overriding with respect to static methods in Java : Free Java Tutorials

In this tutorial, we will explore method overriding concept with respect to static methods. We will also see the difference between method hiding and method overloading with respect to static methods. In the end, we will find out whether method overriding is possible with the static methods or not. We cannot override a static method …

Method Overriding with respect to static methods in Java : Free Java Tutorials Read More »

Introduction to Method Overriding in Java : Free Java Tutorials

Method overriding is as important as method overloading and a slightly tricky concept of Java. Whatever method Parent class contains, are available to the Child class through inheritance. If the child class is not satisfied with the parent class implementation, then the child is allowed to redefine that method based on its requirement. This process …

Introduction to Method Overriding in Java : Free Java Tutorials Read More »

Encapsulation in Java : Free Java Tutorials

 Encapsulation is the process of binding data variables and the corresponding methods into a single unit. Every class in Java is an example of encapsulated class. It brings high security and reliability to an application. Consider an example of a class named Teacher which contains data variables related to teaching profession and methods which represent …

Encapsulation in Java : Free Java Tutorials Read More »

Method Overloading in Java : Free Java Tutorials

Method overloading falls into the category of static polymorphism which is also called compile-time polymorphism. Two methods are said to be overloaded methods if and only if both methods have the same name but different argument types. Method overloading reduces the complexity of programming. In Java, method signature consists of method name followed by names …

Method Overloading in Java : Free Java Tutorials Read More »

Data Hiding and Abstraction in Java : Free Java Tutorials

Data Hiding and Abstraction are two of the most important features of Object Oriented Programming in Java. These two features are the main reason behind the security and maintainability that Java brings. We will understand in detail about these two features in this tutorial. Data Hiding in Java The internal data of any class should …

Data Hiding and Abstraction in Java : Free Java Tutorials Read More »