Page 305 - CITS - Computer Software Application -TT
P. 305
COMPUTER SOFTWARE APPLICATION - CITS
MODULE 6 : Object Oriented Programming and JAVA
Language
LESSON 78 - 84 : Object oriented programming and JAVA
language
Objectives
At the end of this lesson, you will be able to:
• implement various object - oriented concepts based program designs with JAVA
• identify JAVA language components and how they work together in applications
• design dynamic web pages using JAVA (AWT, Applet).
Object Oriented Programming With Core JAVA
Object-Oriented Programming is a paradigm that provides many concepts, such as inheritance, data binding,
polymorphism, etc. The programming paradigm where everything is represented as an object is known as a truly
object-oriented programming language.
Object-oriented programming has several advantages over procedural programming:
• OOP is faster and easier to execute
• OOP provides a clear structure for the programs
• OOP helps to keep the Java code DRY “Don’t Repeat Yourself”, and makes the code easier to maintain,
modify and debug
• OOP makes it possible to create full reusable applications with less code and shorter development time.
What is OOPS in Java?
OOPs can be defined as:
A modular approach where data and functions can be combined into a single unit known as an object. It emphasises
data and security and provides the reusability of code. Using OOP, we can resemble our code in the real world.
List of Java OOPs Concepts
The following are the concepts in OOPs :
• Object
• Class
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation
Apart from these concepts, there are some other terms which are used in Object-Oriented design:
• Coupling
• Cohesion
• Association
• Aggregation
• Composition
292