Java Intro
Java Intro
Java
Programming
Dennis Ritchie Guido Van Bjarne
C Language Rossum Stroustroup
Python C++
Statically Typed Vs. Dynamically Typed
Programming Languages
Major Differences
S TAT I C A L LY T Y P E D D Y N A M I C A L LY T Y P E D
PROGRAMMING LANGUAGE PROGRAMMING LANGUAGE
• Need to mention the data type explicitly while • Data type of the variable will be decided
declaring a variable. (inferred) based on the value that is being stored
in it.
• Example: int a = 10.
• Example: a = 10.
• The variable can only hold the values that belong
to the associated type. • As there is no association with type, variable can
hold any type of value.
• As type checking and type error detection are done
at compile time, no further type checking is needed • As type checking and type error detection is done
during runtime. Thus, the program becomes more at runtime, a dynamically typed program is less
optimized, resulting in faster execution. optimized, results in slower execution.
• Examples: C, C++, Java, Go, Rust, Swift, etc. • Examples: Python, PHP, JavaScript, Ruby, etc.
Java Programming
Language
• Java is a General Purpose, Multi-Paradigm
Programming Language that is developed by
James Gosling, Mike Sheridan, and Patrick
Naughton at Sun Microsystems during early
1990s.
• It is a programming language intended to let
programmers write once, run anywhere
(WORA), meaning that compiled Java code
can run on all platforms that support Java
without the need to recompile.
• The first ever version of Java is released in the
year 1995 making it a 28 years old language to
date.
James Gosling, 1955, Designer of Java Source - Wikipedia
A Brief History of
• James Gosling, Mike Sheridan, and Patrick Naughton
initiated the Java language project in June 1991. The
small team of sun engineers called Green Team.
• The BEST-SELLING
MULTI-PLATFORM VIDEO GAME IN
THE HISTORY?
Question 3