Most of the newcomers in java programming language experience a confusion why on earth do you need Interfaces when you have abstract classes. It is one of the simple feature of java that may sometimes become puzzling. (more…)
Before jumping into the Abstract Classes we need to know what Abstraction is. Abstraction is the process of hiding the details of the process of (more…)
Polymorphism is a concept in java programming in which we can do one action in different ways. The word polymorphism itself says “many forms”. (more…)
Method overloading in java means that a class can have two or more methods of same name if the argument lists that the method holds are different. (more…)
One of the key features of method is it’s ability to work with parameters. Whenever you are calling a method you should always provide arguments that must be in the same order as their respective parameters (more…)
A method is strucure t group statements together to form function. You can define the a method just once and reuse it in other programs. (more…)
The if statements makes selections based on the single true or false conditions.
If there are multiple cases we can make the use of nested if else statements but this becomes very complicated. (more…)