Professional Documents
Culture Documents
Coding
Class - 2
03/11/21
Variables
void function1(){
}
Global Variable
void function){
A Data type specifies the type of data that a variable can store such as
integer, floating, character, etc.
1. While loop
2. For loop
3. Do while loop
GUEST TALK
Ilakkiya Rajasekar
Company : Athena
health
Passed out year : 2021
OOPS
Object Oriented Programming
There are many reasons why OOPs is mostly preferred, but the most important
among them are:
1. OOPs helps users to understand the software easily, although they don’t
know the actual implementation.
2. With OOPs, the readability, understandability, and maintainability of the
code increase multi fold.
3. Even very big software can be easily written and managed easily using
OOPs
Some Examples of OOP
Languages
1. C++
2. Java
3. Java script
4. Python
5. PHP
CLASS
A Class can be understood as a template or a blueprint, which contains some
values, known as member data or member, and some set of rules, known as
behaviours or functions. So when an object is created, it automatically takes
the data and functions that are defined in the class.
Therefore the class is basically a template or blueprint for objects. Also one
can create as many objects as they want based on a class.
For example,
first, a car’s template is created. Then multiple units of car are created based
on that template.
OBJECT
1. Inheritance
2. · Encapsulation
3. · Polymorphism
4. Data Abstraction
INHERITANCE
Types