You are on page 1of 1

Python vs JAVA

Python Java

Statically Typed 1.All variable names (along with their

Dynamically Typed1.No need to declare anything. An types) must be explicitly declared. Attempting to assign

assignment statement binds a name to an object, and the an object of the wrong type to a variable name triggers a

object can be of any type.2.No type casting required type exception.2.Type casting is required when using

when using container objects container objects.

Concise Express much in limited words VerboseContains more words

Compact Less Compact

Uses Indentation for structuring code Uses braces for structuring code

You might also like