OOPS & Strings
OOPS & Strings
OOPS
Object Oriented programming is a
programming style that is associated with the
concept of Class, Objects
Class
A class is a blueprint for any functional entity
which defines its properties and its functions.
Objects
This is the basic unit of object oriented
programming.
both data and function that operate on data
are bundled as a unit called as object.
instance/object of class
You can create objects with the syntax
classname object;
Eg: Student s;
Encapsulation