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

Reporter: Ezra Joy Celino Raymond Chris Nacinopa Geleen Dela Cruz

The document discusses the history and concepts of the Java programming language. It notes that Java was originally called Oak and was created by James Gosling and others at Sun Microsystems in 1991. It also describes some of Java's main concepts like objects, classes, inheritance, and encapsulation.

Uploaded by

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

Reporter: Ezra Joy Celino Raymond Chris Nacinopa Geleen Dela Cruz

The document discusses the history and concepts of the Java programming language. It notes that Java was originally called Oak and was created by James Gosling and others at Sun Microsystems in 1991. It also describes some of Java's main concepts like objects, classes, inheritance, and encapsulation.

Uploaded by

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

REPORTER:

EZRA JOY CELINO


RAYMOND CHRIS
NACINOPA

When a programming language is


created that allows programmers
to program in simple English, it will
be discovered that programmers
cannot speak English.
- Anonymous

Java - The new programming language developed by Sun


Microsystems in 1991.
Originally called Oak by James Gosling, one of the
inventors of the Java Language.
Java -The name that survived a patent search
Java Authors: James , Arthur Van , and others
Java is really C++ -- ++

Java Compiler - Java source code (file with extension .java) to


bytecode (file with extension .class)

Bytecode - an intermediate form, closer to machine


representation
A interpreter (virtual machine) on any target platform interprets
the bytecode.

PACKAGES

Main Concepts
Object
Class
Inheritance
Encapsulation

Objects
identity unique identification of an object
attributes data/state
services methods/operations
supported by the object
within objects responsibility to provide these services
to other clients

Class
type
object is an instance of class
class groups similar objects
same (structure of) attributes
same services
object holds values of its classs attributes

Encapsulation
Separation between internal state of the
object and its external aspects
How ?
control access to members of the
class
interface type

Inheritance

Class hierarchy
Generalization and Specialization

subclass inherits attributes and services from its superclass


subclass may add new attributes and services
subclass may reuse the code in the superclass
subclasses provide specialized behaviors (overriding and dynamic binding)
partially define and implement common behaviors (abstract)

OUTPUT:

OUTPUT:

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