Shifting from Python to Java

  • Object Orientation concepts are same but implementing is different. Java doesn’t support multiple inheritances whereas Python does.
  • Working with Python scripts since the syntax is plain and simple and with Java, It is more completed.
  • Python is interpreted language whereas Java is compiled language.
  • Java has an elegant way to write language patterns like singleton and abstractions.
  • Java wins over Python in case of Object Oriented Programming rules because of strict rules.
  • Java has compiled and build system in place, you can copy build files to deployable environments. In the case of Python, we need to copy actual code snippets to environments.
  • Python is trending and relatively young and Java is classic.
  • An advantage of Java is, you can build the platform-independent application. any devices, that can run the Java Virtual Machine, can run the Java application. whereas for Python you need the particular compiler, then you need to compile the code to run on that platform.
  • Language patterns in Java are matured than of Python in terms of implementations.

--

--

--

Software Engineer , Build Everything required.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sreedhar Bukya

Sreedhar Bukya

Software Engineer , Build Everything required.

More from Medium

Python vs. Java

From Python To Java (Part 5) — Dictionaries (Python) VS HashMaps (Java)

Java or python? which is better- Code karo yaaro

Object-Oriented Programming in Plain English.