employer cover photo
employer logo
employer logo

Tata Consultancy Services (North America)

Is this your company?

Tata Consultancy Services (North America) interview question

What is the difference between java and python?

Interview Answer

Anonymous

14 Nov 2019

In java there are data types, we need to mention them at time of declaration. In python there is no need to mention a data type. It will consider a variable type according to the value we store in it. In java scope is considered according to the braces but in python for considering scope intendation is compulsory.