0% found this document useful (0 votes)
8 views3 pages

Java Vs Python

Uploaded by

dftiburcio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Java Vs Python

Uploaded by

dftiburcio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

COMPARISON BETWEEN

PROGRAMMING LANGUAGES

JAVA PYTHON
D I F F E R E N C E S

is a compiled language is an interpreted language

is statically typed is dynamically typed

offers limited string related offers lots of string related


functions functions

has complex learning curve is easy to learn and use

offers multiple inheritances offers both single and multiple


partially done thru interfaces inheritances

uses curly braces to define the uses indentation to separate code


beginning and end each of into code blocks
function and class definition

having no semicolon at the end of does not need semicolon to end a


statement will throw an error statement

its programs run slowly compared its programs run faster than Java
to Python

DAVE FERNAN R. TIBURCIO BSCE 2-1


202101460
COMPARISON BETWEEN
PROGRAMMING LANGUAGES

JAVA PYTHON
D I F F E R E N C E S

more portable than Python since less portable because its programs
any computer or mobile device that need an interpreter installed on a
can run Java Virtual Machine can target machine to translates its
run its applications Python code

has longer lines of code has shorter lines of code (uses print
function)

takes 10 lines of code to read from a only takes 2 lines of code to read
file in Java from a file

its legacy systems are typically has less legacy problem


larger and numerous

best for Desktop GUI apps, Embed excellent for scientific and numeric
Systems, Web application services, computing, Machine learning apps,
etc. more

offers stable connectivity offers week connectivity

DAVE FERNAN R. TIBURCIO BSCE 2-1


202101460
COMPARISON BETWEEN
PROGRAMMING LANGUAGES

JAVA PYTHON
S I M I L A R I T I E S

both are popular programming both are used in Machine learning


languages and API interactions

both supports multiple paradigm both have garbage collection for


and inheritances memory management objects

both have strong cross-platform both are secure programming


and extensive standard libraries languages

both treat (nearly) everything as both have variables and methods in


objects; therefore are object- their classes
oriented
both are best language master in
both languages compile to bytecode data science

both have a C-like syntax both plays a crucial role for IOT
development
both are widely used in the client-
side and server-side Web both are well established,
applications independent, and part of a large,
supportive community
both case sensitive

DAVE FERNAN R. TIBURCIO BSCE 2-1


202101460

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy