Polymorphism in Java Tutorial | Difference between static and dynamic Polymorphism in JAVA
Polymorphism in java : Brief introduction
Polymorphism in java is an important concept.
Polymorphism is an OOP concept and it is not really related to the java language.
It is a compound term:
Poly: means many
Morphs: means forms
There are two types of polymorphism :
- Static polymorphism
- Dynamic Polymorphism
Static polymorphism in java
This type of polymorphism is implemented in java using method overloading.
Method overloading is achived inside the same class.
It consists in defining many methods having the same name and different parameters list.
I suggest to check this tutorial to know what is method overloading in java.
Dynamic polymorphism in java
This type of polymorphism is implemented using method overriding in java.
The concept of method overriding is tightly related to the java inheritance principle.
You can check this tutorial to know more about this concept.
You can check this java polymorphism tutorial which has many examples and is very
interesting.
Good Resources for the polymorphism principle
I suggest to check those tutorials for more informations about the polymorphism concept:
1) http://how-to-program-in-java.com/2016/08/17/polymorphism-java-examples-static-dynamic/
2) https://docs.oracle.com/javase/tutorial/java/IandI/polymorphism.html
Best javascript programming courses | javascript tutorials for beginners
This is a very good javascript course for beginners.
It contains well explained and best javascript programming courses:
Lesson 1: add javascript to HTML page add javascript to HTML page
Lesson 2: variables in javascript variables in javascript
Lesson 3: alert in javascript alert in javascript
Lesson 4: prompt in javascript prompt in javascript
Lesson 5: confirm in javascript confirm in javascript
Best java programming tutorials for beginners | java programming courses for beginners
I will present best java programming tutorials for beginners:
To learn how to program in JAVA , i recommend to check this core java tutorial :
Lesson 1:Install the necessary tools install eclipse and jdk
Lesson 2: difference between jvm, jre and jdk jvm vs jre vs jdk
Lesson 2: JAVA variables for beginners variables in java
Lesson 3: casting in java casting in java
Lesson 4:Flow control statements in JAVA Flow control statements in JAVA
Lesson 5:Looping statements in JAVA Loops in java
Lesson 6: Reading input from the console Reading input from the console
Lesson 7: JAVA Array Declaration, initialization and loop through arrays in java
Lesson 8: JAVA Class Tutorial For Beginners classes in java
Lesson 9: JAVA Objects Tutorial For Beginners objects in java
Lesson 10: JAVA Constructor Tutorial For Beginners JAVA Constructor
Lesson 11: Method overloading in JAVA Tutorial For Beginners Method overloading in JAVA Tutorial For Beginners
Lesson 12: Inheritance in JAVA Tutorial For Beginners Inheritance in JAVA Tutorial For Beginners
Lesson 13: java interview questions and answers java interview questions and answers Lesson 14: polymorphism in java polymorphism in java
JAVA Video Tutorials: