Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Main topics in this course are object-orientation, objects and classes, overloading, inheritance, polymorphism, generic programming, exception handling, introduction to design patterns. This lecture includes: Object, Oriented, Programming, Abstraction, Principle, Behaviour, Class, Inheritence, Line, Shape, Circle
Typology: Slides
1 / 29
Engineer’s View
Graphical Representation of Classes^ (Class Name)(attributes)(operations)
Example – Graphical Representation
of Classes Circle
Example – Graphical Representation
of Classes Person nameagegendereatwalk
Inheritance – “IS A” or“IS A KIND OF” Relationship ►Each derived class is a special kind of itsbase class
Person nameagegendereatwalk Teacherdesignationsalaryteach StudentprogramstudyYearstudy
DoctordesignationsalarycheckUp
Shape colorcoorddrawrotatesetColor Circleradiusdraw
Linelength
Triangleangledraw