0% found this document useful (0 votes)
48 views

Lecture On Computer Programming 4: JAVA Programming Alex P. Pasion, MS Instructor

This document summarizes a lecture on computer programming in Java. It discusses the history of Java, noting it was created in 1991 by James Gosling to work on various computer chips for programming home appliances. In 1994, Gosling realized Java was ideal for web browsers. It also became popular for use by Netscape and others for programming for the internet. The document defines Java programs as applications or applets and describes what object-oriented programming is. Finally, it lists some key features of Java like being able to run on different hardware platforms and having automatic memory recycling.
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Lecture On Computer Programming 4: JAVA Programming Alex P. Pasion, MS Instructor

This document summarizes a lecture on computer programming in Java. It discusses the history of Java, noting it was created in 1991 by James Gosling to work on various computer chips for programming home appliances. In 1994, Gosling realized Java was ideal for web browsers. It also became popular for use by Netscape and others for programming for the internet. The document defines Java programs as applications or applets and describes what object-oriented programming is. Finally, it lists some key features of Java like being able to run on different hardware platforms and having automatic memory recycling.
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

Lecture on

Computer Programming 4

JAVA programming

Alex P. Pasion, MS
Instructor
TOPICS:

History of JAVA
Features of JAVA
What is OOP (Object-Oriented
Programming)
History of JAVA
Java was invented in year: 1991
By: James Gosling and his team

At: Sun Microsystems


History of JAVA
1st version was intended to be a
programming language for programming
home appliances
Sounds like engineering task
Home appliances are controlled by a wide
variety of computer processor (chips)
The language that Gosling and his team
were designing needed to work on all of
this different processor
History of JAVA
Downfall
-Home appliances is typically an
inexpensive item, so the manufacturer
would not be willing to invest time and
money developing compiler.

-Program that would translate appliance


language program into a language
processor would understand.
History of JAVA
In 1994, Gosling realized that his language is ideal
for developing a web browser that could run JAVA
programs over the internet.
The web browser was produced by Patrick
Naughton and Jonathan Payne at Sun
Microsystems
The web browser is known as HotJAVA
1995, Netscape decided to make the next released
of web browser capable of running JAVA programs.
Other companies associated with internet followed.
Why is the language called
JAVA
In honor of the coffee shop they went thru for a
meeting.

The original name of the language was Oak

James Gosling, Arthur Van hoff, Andy bechtolsheim


JAVA programs
There are two kinds of JAVA programs:

An application is just a regular program.


An applet convey the idea of a little
application
The difference is that an application is
2
meant to be run on your computer, like any
other program, whereas an applet is
meant to be sent to another location on the
internet and run there.
Console application

GUI application

Applets
What is OOP?
JAVA isObject-Oriented Programming
language, abbreviated as OOP.
-An Object is a program that has data (that is,
Information) associated with it and can perform
certain actions.
-The actions performed by the object is called
methods (functions or procedure)
-a class is a type or kind of object.
Features of JAVA
Runs on wide variety of hardware platform
Can be loaded dynamically via a network

Facilitates robust behavior

Creating applications that have nothing to do


with network
Completely OOP language

Can work on multitasking

Automatically recycles memory


Next Topic for next meeting..
Main design principles of OOP

You might also like