Java vs Python

0

 

Java

  • Java is a Compiled Language

  • It is an object oriented programming language

  • Java language type discipline is static and weak.

  • Java is statically typed

  • Java has switch statement

  • In Java, the collection objects like Stack, Linked list or Vector store only objects but not primitive datatype like integer numbers.

Python

  • Python is an Interpreted Language

  • It is a Scripting Language

  • Python type discipline is dynamic and strong.

  • Python is Dynamically typed

  • Python does not have switch statement

  • Python collection objects like lists and dictionaries can store objects of any type, including number and lists.


     

 

Post a Comment

0Comments
Post a Comment (0)