Computer Science, asked by harshapala5201, 1 year ago

Write any one similarity between Python and OOPs

Answers

Answered by Rajeshkumare
0
Python and Java is the way that each language handles variables.

Java forces you to define the type of a variable when you first declare it and will not allow you to change the type later in the program. This is known as static typing.

while python uses dynamic typing which allows you to change the type of a variable,for example by replacing an integer with a string.

Python, like Java, is an object-oriented language. Both use garbage collection for memory management, and both have extensive standard and external libraries.

Being specific to your question the most obvious difference between the two is syntax.

Similar questions