0% found this document useful (0 votes)
5 views1 page

Java: Object-Oriented Programming Basics

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

Java: Object-Oriented Programming Basics

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

JAVA

- Developed by James Gosling


- 1995
- Object-oriented Language
- More data-oriented than C.
- High-level language (uses compiler/interpreter)
- Interpreted language (bytecode is being executed by Java Virtual Machine)

Object-oriented Programming
- Is a programming methodology that sees programs consisting of objects that
interacts with one another by means of actions (methods).

OBJECT
- A program construction with data that could perform actions.

METHODS
- The actions performed by objects that are interacting.

CLASS
- A type or kind of object.
- Objects with the same kinds of data and methods belong to the same class.

DESIGN PRINCIPLES OF OOP


1. Encapsulation
 Information hiding.

2. Polymorphism
 Comes from the Greek word meaning, “many forms.”
 it allows the same program instruction to mean different things in
different contexts.

3. Inheritance
 Organizing classes where properties are defined once but can be used
to all collection of classes.

4. Abstraction
 Show relevant data and hide unnecessary details.

You might also like