6TH Subject Computer - Java Notes Class X
6TH Subject Computer - Java Notes Class X
JAVA NOTES
Revision of Class IX Syllabus
Programming paradigms are a way to classify programming
languages based on their features. Paradigm means organizing
principle of a program. It is an approach to programming.
Procedure Oriented Programming: A Procedure oriented
programming approach allows the users to develop their logic by
using a number of functions that would enhance the program’s
productivity.
Example BASIC, COBOL, C
Object Oriented Programming: An Object Oriented Programming
is a modular approach, which allows the data to be applied with
a stipulated program area. It also provides the reusability feature
to develop productive logic, which means to give more emphasis
on data.
Basic Principles of OOP:
1. Abstraction: The act of representing essential features,
without including the background details.
2. Inheritance: Capability of one class of things to inherit
capabilities or properties from another class.
3. Encapsulation: Wrapping up of data and functions into a
single unit.
4. Polymorphism: Polymorphism is the ability for a message or
data to be processed in more than one form.