Kategorier: Alla - encapsulation - inheritance - behaviour - class

av sunitha palanisamy för 4 årar sedan

2466

OBJECT ORIENTED PROGRAMMING

Object-oriented programming is a paradigm centered around the concept of objects, which are instances of classes. Each object possesses attributes that define its state and behaviors that determine its actions.

OBJECT ORIENTED PROGRAMMING

OBJECT ORIENTED PROGRAMMING

Object Oriented Concept & Termonologies

UML -graphical languages design to captured the artifacts of an OOAD proses
Features of OOP
-DATA ABSTRACTION -ENCAPSULATION -INHERITANCE -POLYMORPHISM
Classes and Objects
CLASS -template or blueprint to create an object OBJECT -is an instance of a class
Object,Attribute,Behaviour
OBJECT -an instance or specific example of a class ATTRIBUTES -data value that describes an object BEHAVIOUR -operation or function that an object can perform

Programming Techniques

Object-Oriented analysis and design -technical approach
ADVANTAGES -it is easy to understand -it provides re-usability DISADVANTAGES -it is not easy to determine
Object-Oriented Design -defining the components, interfaces,object,classes, attributes and operations
Object-Oriented Analysis -process of defining the problem in terms of real-world object
Object-Oriented Approach -organize complex programs easily
Procedural Programming -programming model
Languages uses in PP -FORTRAN,ALGOL,COBOL -BASIC,PASCAL and C
Object Oriented -method of programming based on hierarchy
Languages uses in OP -Java,C++,C#,Python -PHP,JavaScript,Ruby,Perl -Objective-C,Dart,Swift,Scala