https://github.com/afnanelhussini/tryingoopwithjava
how object-oriented programming in java works!
https://github.com/afnanelhussini/tryingoopwithjava
java oop-in-java oop-principles
Last synced: about 1 month ago
JSON representation
how object-oriented programming in java works!
- Host: GitHub
- URL: https://github.com/afnanelhussini/tryingoopwithjava
- Owner: AfnanElhussini
- Created: 2022-02-21T16:25:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T21:31:03.000Z (about 4 years ago)
- Last Synced: 2025-03-10T18:09:03.415Z (over 1 year ago)
- Topics: java, oop-in-java, oop-principles
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OBJECT-ORIENTED PROGRAMING:
Object-oriented programming (OOP) is a computer programming model (methodology or Paradigm) that organizes software design around data, or objects, rather than functions and logic.
An object can be defined as a data field that has unique attributes and behavior.
## **Java** is a class-based, Object-Oiented Programming language.
## Objects
are the things you think about first in designing
- Data, Properties, Attributes
- Operations(), Methods(), Functions().
An instance of an excecutable copy of a class.
Another name for instance is object.
## Class
is a template, Prototype, blueprint for objects, and an object is instance of a class.
## Access Level Modifiers
- Public (accessible from any class).
- Private (accessible withn the class where defined)
- Protected
- Defult or Package-Private (when no access specifier is specified)
