| Features |
Java |
python |
| Syntax |
in java we need to put a semicolon at the end of the statement and also code must be placed in curly braces. |
In python identation is mandatory as it improves the readability of the code. |
| Framework |
java has large number of frameworks. Like spring , hibernate and many are there |
python has lower number of frameworks. More used ones are Django , flask |
| Dynamic |
In java we need to declare the type for each variable |
In python codes are dynamically typed and this is also called as duck typing. |