Java was developed by James Gosling and his team at Sun Microsystems in 1991. It was created to allow programmers to write programs once that could run on any device without needing to be recompiled for different machines. Key features of Java include being platform independent, meaning programs can run on any device, and write once run anywhere, so that code only needs to be written once to run on various machines. The document provides an introduction and history of Java as well as an overview of its features.
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Introduction to java
1. Introduction To Java
• What is a Programming Language?
• History Of Java
• Features Of Java
1/7/2019 Jamsher Bhanbhro(F16CS11)
2. What is Programming?
• A Program is the Set of the Instructions to
perform an specific task.
• An Instruction is the code which is written in
different languages to tell something to a
computer.
• The Way of Writing a program or the
instructions is known as Programming.
• Without Program computer can’t do anything
itself and we can’t teach by our self.
1/7/2019 Jamsher Bhanbhro(F16CS11)
3. Programming Language
• There are different ways to write a program.
• These ways are called languages.
• Each language has different instructions to
write a program.
• And All languages has different features
advantages, disadvantages and has different
uses.
1/7/2019 Jamsher Bhanbhro(F16CS11)
4. History Of Java
• In the early era there were many different
machines and has different compilers and uses
different programming languages.
• So for the programmers it was time consuming
to write a code for each machine.
• So the scientist researched and developed a
new Language which has a feature that it can
run on any machine or computer.
1/7/2019 Jamsher Bhanbhro(F16CS11)
5. History Cont…
• So The team of the James Gosling which was
working in the sun-micro system company
developed a new language called oak.
• Oak was the name of the tree.
• Now this Oak is named as Java.
• JAVA was developed by Sun Micro System
and initiated by James Gosling in 1991.
1/7/2019 Jamsher Bhanbhro(F16CS11)
6. Features Of JAVA
• We Will Discuss two features in today’s lecture
1. Platform Independent
2. WORA
Note: Platform dependent or Machine
dependent is used for the same terminology.
1/7/2019 Jamsher Bhanbhro(F16CS11)
7. Platform Independent
• A platform or the machine is the device on
which we are running our program.
• Platform independent tells that JAVA programs
don’t depend upon machine.
• We can write a program and can run it on the
different machines.
1/7/2019 Jamsher Bhanbhro(F16CS11)
8. WORA
• Stands for Write Once Run Any Where.
• In java we will write a program once and can
run on different machines.
• Although we should need different compilers
for the different machines.
1/7/2019 Jamsher Bhanbhro(F16CS11)