Advertisements

Showing posts with label difference between java and python. Show all posts
Showing posts with label difference between java and python. Show all posts

Sunday, January 20, 2019

JAVA Vs PYTHON | Difference between Java & Python | which is better for you |

                
                              JAVA                              

General Purpose Solving Programming Language. Follows - write once, run everywhere                                 

TYPING



JAVA, uses static typing where a user is forced to choose a variable type which cannot be changed later in the programming language.                                     


SPEED

JAVA can be used for desktop programs and web applications. JAVA is faster than Python  


PRODUCTIVITY

Less productivity than Python, as each variable has to be defined. Thus, it is time consuming.   
           

PYTHON

High level programming language. Focus on code readability and shorter syntax.


TYPING 

Python uses dynamic typing allowing users to change the variable type. Thus making it easier to learn.

SPEED


 It is not as fast as JAVA. 

PRODUCTIVITY

Writes code is fewer lines, allowing  developers to be more productive.