Professional Documents
Culture Documents
Comparing and
Contrasting
Java vs Python
2
Let’s watch a video!
3
1.
Comparing and contrasting
Finding out differences and similarities
4
COMPARING CONTRASTING
6, 1, 5,
8, 2, 3, 7,
10, 4, 9,
7
To find differences
But
CONTRASTING
Different from
However
On the other hand
Unlike
In contrast to
Whereas
✔ Python is gentle in its treatment of variables whereas Java has strict type checking.
✔ Programs and apps normally run faster in Java. But running the code in Python is simpler.
✔ Python is a dynamically typed language, which results in an easier syntax that is quite similar to the
English Language. Java, on the other hand, follows strict syntax rules, it’s a statically typed
language where you need to explicitly declare your variable types
8
Let’s watch a video!
9
Your turn!
Let’s play a game.
https://wordwall.net/play/18536/148/231
10
Which is better between Python and Java?
It is impossible to define which of them is the best.
Both these languages have large communities and great
support.
The bugs have been fixed almost immediately, and
languages are also being updated from time to time.
Java is already proving to be one of the world's best
languages. Similarly Python is growing with each
passing day.
When it comes to performance, Java defeats Python, but
if you are looking at compiling code for large projects
with thousands of lines of code, you need to go with
Python itself.
Python language has a simpler syntax, and it is better
to read and format as well. Predicting any language's
future is not simple or straightforward, However both
are doing perfectly right now.
This discussion between Java vs. Python is held in
2021. There are many different pros and cons for both
languages. You have to choose the one that goes better
for your projects’ requirements.
Say if the sentences are contrasting or comparing
11
Thank you!
Do you have any questions?
Want to read more about it?
https://hackr.io/blog/python-vs-java
https://www.youtube.com/watch?v=8gzBTe4Oq80
12